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.
It is not possible to clean web project with REST web services because file build\web\WEB-INF\lib\asm-all-repackaged.jar is locked. To reproduce: - create web project with GlassFish server - open new file wizard - choose "Web Services|RESTful Web Services from Patterns" - click Next - click Next to confirm "Simple Root Resource" - provide package and click Finish - confirm "REST Resource Configuration" with default values (NetBeans will generate..., Add Jersey Library) - deploy project - try to clean project but it fails because GlassFish process holds handle of affected jar Deleting directory D:\Development\builds\nbUserdir-20111027130854\WebApplication3\build D:\Development\builds\nbUserdir-20111027130854\WebApplication3\nbproject\build-impl.xml:1069: Unable to delete file D:\Development\builds\nbUserdir-20111027130854\WebApplication3\build\web\WEB-INF\lib\asm-all-repackaged.jar BUILD FAILED (total time: 5 seconds) Product Version: NetBeans IDE Dev (Build 201110260600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb) Server: GlassFish 3.1.1
the root cause matches the root of issue 202419. *** This bug has been marked as a duplicate of bug 202419 ***