Hello Techsters -
I downloaded the latest STS (VERSION - 2.9.2.RELEASE) for windows 7 (64 bit).
I have created a few spring projects. I am using ant to compile.
1. I select the build.xml with appropriate entries to do the build and right-click -- Run As - Ant Build.
2. Everything works fine, the build completes successfully and an appropriate war file is created as desired.
3. However when I select the same build file again and do the build and right-click -- Run As - Ant Build, it is not able to execute the clean tasks. It keeps saying - "Unable to delete file (filename)".
Apparently, if I go to the explorer and try to delete the file manually, it says "unable to delete the file as it is being used by Java (TM) platform SE binary".
I tried to look around and I found specifying the -Dgreclipse.nonlocking=true in the STS.ini file, specifying that did not work. I am not sure if I am to follow the above solution or if there is something else that I am missing.
Any guidance would be really helpful and appreciated.
Regards.


Reply With Quote