|
|
|
[
Permlink
| « Hide
]
Grant Gochnauer - 14 Aug 08 23:56
Attaching error message I get after I try to manually delete a deploy folder. This only happens after doing a build where IDEA deploys to an exploded WAR file. After closing IDEA, I can delete the folder fine
Do you think this would be a quick fix? Everytime I compile my exploded WAR I have to restart IDEA since many times RSA needs to change folders in the same exploded folder in my specific scenario.
Thanks! Any chance this can make it into Diana? Thanks! This requires me to restart IDEA every time I do a build currently
I cannot reproduce the problem. Please attach ipr and iml-files of your project.
Is the problem reproduce if WAS isn't started? Will you be able to remove exploded war folder if you start IDEA and build your project without starting WebSphere server?
Hello Nikolay –
It turns out I don't have to run WAS/RSA at all to reproduce this error. I'll attach my IPR and IML for this module. All I have to do is deploy to a folder in IDEA, then try to delete the folder. The folder is completely locked until I shut down IDEA. Right now my module deploys to: When I do a build, I cannot delete the "EMEA2NG.ear" folder. RSA/WAS is not running at all. -Grant One thing to note that might be different than a normal test case for you is that I am using path variables for my deployment folder.
I have a path variable in IDEA defined as: I've reproduced the problem. As a workaround you can try to delete WAR directory and then delete its parent EAR directory.
Interesting.. I seem to be able to reproduce this issue off and on now... I'm glad you were able to reproduce it... Does it have to do with the fact I'm using path variables?
Thanks No, it isn't related to path variables.
Actually the problem is causes by FileWatcher.dll library used by IDEA to watch changes in the exploded war directory. FileWatcher locks the parent directory of the exploded war directory but if you delete the exploded war directory the parent directory will be unlocked so you will be able to remove it too. Nikolay –
That makes sense. Your work-around does work so that's good news! Grant I just ran into this again and it seems deleting the exploded web folder did not help. The only thing running right now is IDEA. I shut down WAS/RSA and I still cannot delete the folder. After shutting down IDEA, the folder could be removed.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||