I am not sure, if locking really (still) is the problem.
Now I updated to MyEclipse 5.1, because of the “Optimized exploded application redeployment feature”.
1. Then I deployed an exploded WAR. Next I modified a Servlet. Servlet behaves like before 🙁
2. Then I used the new(?) Servers/redeploy feature. Servlet behaves like before 🙁
3. Then I removed the WAR folder and deployed it as an archive (with MyEclipse). Servlet behaves like before 🙁 Strange!
4. Then I created and deployed that WAR using my own ant script. Servlet modification works. Very strange!
So there must be a difference between the WAR MyEclipse created and the WAR my ant script creates. I compare those two archives and see one difference:
The WAR MyEclipse creates, contains all jars that are in the project classpath in in WEB-INF/lib! Not only those that are already in WEB-INF/lib in the project tree.
Is this a bug? How can I stop MyEclipse from copying files into WEB-INF/lib?