This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[netbeans41 FCS] I would like to clean & build EJB module that is deployed to Weblogic server. I get following error every time: init: deps-clean: Deleting directory E:\work\StalessTest\build Deleting directory E:\work\StalessTest\dist E:\work\StalessTest\nbproject\build-impl.xml:424: Unable to delete file E:\work\StalessTest\dist\StalessTest.jar BUILD FAILED (total time: 1 second) Since I am not able to reproduce the issue with Sun App server it seems as Weblogic related bug.
Due to a break in the deployment process caused by issue #59111, WL holds the lock on the jar file and does not release it until stopped.
BTW: we solved similar problems with WEB-INF/lib/*.jar files while cleaning WebApp project on Tomcat/AppServer. See targets do-clean and check-clean in build-impl.xml of WebApp project. The solution used the fact that evethough JAR files can't be deleted, they can be rewritten and both Tomcat/AppServer will use newly rewritten JAR files.
For 4.2 we need to try the solution that works for tomcat/appserv.
fixed in trunk, I cannot reproduce this neither for local server nor for the remote server
Verified in trunk