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.
I have some projects, They are Java Libraries (none of them is web application), and this is their dependencies: Project `Lib` have no dependency project `Pack1` depends on `Lib` project `Pack2` depends on `Pack1`, `Lib` project `Pack3` depends on `Pack4`, `Lib` project `Pack4` depends on `Lib` project `Final` depends on `Pack1`, `Pack2`, `Pack3`, `Pack4`, `Lib` When I do "Clean and Build" on "Final", SOMETIMES, It would terminate by this error: ant -f D:\\code\\Final clean jar init: Deleting: D:\code\Final\build\built-clean.properties deps-clean: Updating property file: D:\code\Final\build\built-clean.properties Pack1.init: Pack1.deps-clean: Updating property file: D:\code\Final\build\built-clean.properties Lib.init: Lib.deps-clean: Created dir: D:\code\Lib\build Updating property file: D:\code\Final\build\built-clean.properties Deleting directory D:\code\Lib\build Lib.clean: Deleting directory D:\code\Pack1\build Pack1.clean: Pack2.init: Pack2.deps-clean: Updating property file: D:\code\Final\build\built-clean.properties Pack3.init: Pack3.deps-clean: Updating property file: D:\code\Final\build\built-clean.properties Pack4.init: Pack4.deps-clean: Updating property file: D:\code\Final\build\built-clean.properties Deleting directory D:\code\Pack4\build D:\code\Final\nbproject\build-impl.xml:1471: The following error occurred while executing this line: D:\code\Final\nbproject\build-impl.xml:1521: The following error occurred while executing this line: D:\code\Pack2\nbproject\build-impl.xml:1450: The following error occurred while executing this line: D:\code\Pack2\nbproject\build-impl.xml:1479: The following error occurred while executing this line: D:\code\Pack3\nbproject\build-impl.xml:1450: The following error occurred while executing this line: D:\code\Pack3\nbproject\build-impl.xml:1479: The following error occurred while executing this line: D:\code\Pack4\nbproject\build-impl.xml:1446: Unable to delete file D:\code\Pack4\dist\Pack4.jar BUILD FAILED (total time: 3 seconds) Note that I did not execute any of these project in netbeans or any other place, even I closed Windows File Explorer, there is no application working with my code files (Except Netbeans IDE itself), and SOMETIMES, in any steps, `Clean and build` Process raised with error title: `Unable to delete SOMEPROJECT.jar`. the more dependencies, the more errors I've reviewed these bugs: https://netbeans.org/bugzilla/show_bug.cgi?id=48736 https://netbeans.org/bugzilla/show_bug.cgi?id=49533 https://netbeans.org/bugzilla/show_bug.cgi?id=47919 https://netbeans.org/bugzilla/show_bug.cgi?id=48890 https://netbeans.org/bugzilla/show_bug.cgi?id=48736 https://netbeans.org/bugzilla/show_bug.cgi?id=154495 https://netbeans.org/bugzilla/show_bug.cgi?id=193772 but, the bug is not duplicate of any of these bugs, there is no WEB project, there is nothing like tomcat/... that execute or lock project files, and this bug happened often (not always) only in `clean and build`. there were a time, when I executed `clean and build` 15 times, to build the project successfully. note that this bug never happened on a simple project (project that have no dependency to other projects)