|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
GSP file locks? (Windows of course)Hi all,
using JEdit and trying and modify a GSP file in a running application I get: I/O Error: Cannot save: java.io.IOException: Rename failed: C:\TEMP\newapp\grails-app\views\home\#index.gsp#save# which effectively prevents further modification and means an application restart. Normally (I think) JEdit does a "buffered save" where it first saves to a temp file called #thefile#save# then it renames the temp file to the target file. I don't usually have such problems with JEdit, so I assume the difference is Grails and that there's a file handle not being released? Cheers, Maurice --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: GSP file locks? (Windows of course)I can second that experience. Happened to me while I was trying to
fiddle with the layout main.gsp. Saving works for me for a couple of times and then suddenly the file gets locked. Michael Maurice Nicholson schrieb: > Hi all, > > using JEdit and trying and modify a GSP file in a running application > I get: > > I/O Error: > Cannot save: java.io.IOException: Rename failed: > C:\TEMP\newapp\grails-app\views\home\#index.gsp#save# > > which effectively prevents further modification and means an > application restart. > > Normally (I think) JEdit does a "buffered save" where it first saves > to a temp file called #thefile#save# then it renames the temp file to > the target file. > > I don't usually have such problems with JEdit, so I assume the > difference is Grails and that there's a file handle not being released? > > Cheers, > Maurice > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: GSP file locks? (Windows of course)When you get this pain in the neck, probably the
guity software is Windows Explorer. To solve this, use Unlocker a Windows Explorer extension that can be found at: http://ccollomb.free.fr/unlocker/ This Windows Explorer shell extension locates the guilty software that is locking a file or folder and allows unlocking the resource or even killing the evil software. Hope that helps Reginaldo Michael Baehr wrote: > I can second that experience. Happened to me while I was trying to > fiddle with the layout main.gsp. > > Saving works for me for a couple of times and then suddenly the file > gets locked. > > Michael > > Maurice Nicholson schrieb: >> Hi all, >> >> using JEdit and trying and modify a GSP file in a running application >> I get: >> >> I/O Error: >> Cannot save: java.io.IOException: Rename failed: >> C:\TEMP\newapp\grails-app\views\home\#index.gsp#save# >> >> which effectively prevents further modification and means an >> application restart. >> >> Normally (I think) JEdit does a "buffered save" where it first saves >> to a temp file called #thefile#save# then it renames the temp file to >> the target file. >> >> I don't usually have such problems with JEdit, so I assume the >> difference is Grails and that there's a file handle not being released? >> >> Cheers, >> Maurice >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Reginaldo Delfino +55-11-3178-0060 -- "One day I got on the usual bus, and when I stepped in, I saw the most gorgeous blond chinese girl... I sat beside her... I said 'Hi,' and she said 'Hi,' and then I said 'Nice day, isn't it,' and she said 'Yeah, I guess'... I said 'What do you mean "you guess"?'... she said 'I saw my analyst today and he says I have a problem.'... so I asked 'What's the problem?'... she replied 'I can't tell you, I don't even know you.'... I said 'Well sometimes it's good to tell your problems to a perfect stranger on a bus.' So she said, 'Well, my analyst said I'm a nymphomaniac and I only like Jewish cowboys... by the way, my name is Diane.' I said, 'Hello, Diane, my name is Bucky Goldstein.'" -- Steven Wright -- This message (including attachments) is confidential and may be legally privileged, unauthorized use or dissemination in whole or in part is strictly prohibited. Opinions or advices contained are confidential and not intended for public display. About Ingenico Throughout the world businesses rely on Ingenico for secure and expedient electronic transaction acceptance. Ingenico products leverage proven technology, established standards and unparalleled ergonomics to provide optimal reliability, versatility and usability. This comprehensive range of products is complemented by a global array of services and partnerships, enabling businesses in a number of vertical sectors to accept transactions anywhere their business takes them. www.ingenico.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |