Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1.1Release
-
Fix Version/s: None
-
Component/s: Project Settings
-
Labels:None
-
Environment:Windows 7 64 bit
Eclipse 3.6 Helios 32 bit (or 64 bit)
Java 1.6.0_22
Groovy Eclipse Feature 2.1.1.xx-20101215
-
Number of attachments :
Description
We've been struggling with an issue where jar files that are part of a software project we're working on become locked by the Eclipse.exe process (or Javaw.exe process if you have Eclipse configured to fork, rather than using the JNI libraries). We would expect the jar files to be locking when a new java process is spawned during a process run (e.g. if we launched Tomcat), but would not expect them to be locked by the IDE process.
This causes issues for things like when we try to get new jars from our source control tool or if we wanted to delete the project. Since the Eclipse.exe process has them locked, the files can't be overwritten. (Yes, we're in Windows ;()
We've been able to track this down to happening when the Java Product has the Groovy Nature enabled (Project | Configure | Convert to Groovy Project).
I see that a person had a similar issue a while back that was fixed with 2.0.0 of the plug-in. Do you think that a similar issue might have snuck back in in the 2.1 releases? I'm a callow user of the tools, but from what I can tell, the issue referenced here was the use of a URLClassloader class.
If this is familiar to anyone, we'd appreciate any insight or help.
Windows 7 64 bit
Eclipse 3.6 Helios 32 bit (or 64 bit)
Java 1.6.0_22
Groovy Eclipse Feature 2.1.1.xx-20101215
Hi, this is a known current problem. The work on this issue is being done under https://issuetracker.springsource.com/browse/STS-1017 against STS (STS is just where the problem was hit, it is indeed a groovy-eclipse problem). With the latest groovy-eclipse you can confirm you are hitting the problem we know about by closing the project - if you close it and the locks are released, it is the same issue.
Yes, it is due to URLClassLoader, and it is due to the groovy compiler supporting ast transforms.