« Return to Thread: GSP file locks? (Windows of course)

Re: GSP file locks? (Windows of course)

by Michael Baehr-2 :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: GSP file locks? (Windows of course)