Skip to main content

Jar cleanup with clean/build in NetBeans

3 replies [Last post]
bakarirum
Offline
Joined: 2005-07-07
Points: 0

I have a project in NetBeans that is using jMaki. If I deploy the application to Tomcat and then try to clean/build the project, the clean fails due to a locked file resource. Could there be an issue within the jMaki code in which not all the objects are being dereferenced properly? Below is the error message:

C:\ProjectDevelopment\myproject\nbproject\build-impl.xml:771: Unable to delete file C:\ProjectDevelopment\myproject\build\web\WEB-INF\lib\ajax-wrapper-comp-1.0.3.jar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

Are you able to see this happen repeatedly? If so what version of Netbeans / Tomcat are you using?

-Greg

bakarirum
Offline
Joined: 2005-07-07
Points: 0

Yes. I see this regularly. I am using Netbeans6.0 with Tomcat 6.0.14.

karthikbalait
Offline
Joined: 2007-12-05
Points: 0

This problem has no relation to the jMaki, i even get this error often when using tomcat with netbeans, you can clean the full project only if you stop the tomcat, may be this is a bug with tomcat, if you have doubt you can remove jmaki files from the project and this problem will still persist