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.
This issue was originally reported by Daniel Mutch in 16/May/08 at codehaus.org - see more details at http://jira.codehaus.org/browse/MEVENIDE-636 Environment: XP JDK 1.6.0_06 NB 6.1 =========== Description: =========== I'm getting a lot of clean failures. They always fail because they are unable to delete files under the target directory. It seems either Netbeans or Maven is locking these files. It's not due to my applications simply because it happens even if I build then clean, i.e. don't run anything in between. This is a jar project not a war. No web server involved. I think the issue may be related in some way to plugins and extensions. The problem first started as an intermittent issue. We have the maven pmd and checkstyle plugins in our build process. Occaisionaly the clean would fail to delete the output files they generate. Even if I hadn't looked at them. Recently however we changed the way one of our sections in the build is used. We now build it and then bring it into the build as an extension. It seems it is the jar associated with this project that it is unable to delete. This is now failing everytime. I've attached the failure stack trace. ----------------------------------------------------- Comment by Anuradha Gunasekara [ 16/May/08 07:01 AM ] ----------------------------------------------------- I still can't reproduce. Can you attach Example Project and give steps to reproduce Thanks ---------------------------------------------- Comment by Daniel Mutch [ 18/May/08 08:33 PM ] ---------------------------------------------- I'll see what I can do when i have a moment. Cheers Dan
...I am linking the following file which resides in Jira system: http://jira.codehaus.org/secure/attachment/34575/build-output.txt
haven't got a similar report since 6.1, with introduction of default command line building in 6.5, the issue shall be even less frequent. as a general rule, as far as I can tell the plugins/extensions shall not be built in the same build as the the projects using them. marking as fixed, please reopen if the issue persists in 6.5