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.
When the packaged tomcat (version 5.5) container is running, the clean and build command returns an error and will not create a new build. But if I shut down tomcat, it cleans and builds correctly. I am using netbeans 5.5.
Can you attach the error message, please? What type of project did you use?
From reporter: Error Message: init: deps-clean: do-clean: Deleting 8 files from C:\Develop\LIMSOutput\build\web\WEB-INF\lib Deleting directory C:\Develop\LIMSOutput\build C:\Develop\LIMSOutput\nbproject\build-impl.xml:703: Unable to delete file C:\Develop\LIMSOutput\build\web\WEB-INF\lib\jsf-impl.jar BUILD FAILED (total time: 2 seconds) Project Type: Java Server Faces Reassigning to Tomcatint for evaluation
Probably the only way how to fix this issue would be to undeploy the application before cleaning the project. This fix would be rather controversial and would slow down clean & build action, currently we do not plan to fix this -> marking the issue as WONTFIX. Note that there is a couple of work-arounds which you can use. You can stop or undeploy the application manually from the Services window. Another work-around would be to add antiResourceLocking="true" to your context.xml file, see http://tomcat.apache.org/tomcat-5.5-doc/config/context.html.