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

GSP file locks? (Windows of course)

by Maurice Nicholson old :: Rate this Message:

Reply to Author | View in Thread

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

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