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.
Renaming a project break the build-impl.xml ANT script (clean target) for depending projects Steps to reproduce: Create new "Enterprise Application" making sure the "Create EJB Module" and/or the "Create Web Application Module" checkboxes are checked. Projects generated and opened: - EnterpriseApplication1 - EnterpriseApplication1-EJBModule - EnterpriseApplication1-WebModule Choose "Rename Project" in the contextual menu for the EJBModule and change the name to "NewEnterpriseApplication1-EJBModule" and check the "Also Rename Project Folder" checkbox. Trying to clean the main 'EnterpriseApplication1' project triggers this error: deps-clean: D:\dev\EnterpriseApplication1\nbproject\build-impl.xml:279: The following error occurred while executing this line: java.io.FileNotFoundException: D:\dev\EnterpriseApplication1\EnterpriseApplication1-ejb\build.xml (couldn't find file)
Not sure if this is general project issue or j2ee project issue.
Common to Ant-based projects using ReferenceHelper. Superproject does not yet listen to changes in the name of subproject.
Easily reproduced just using j2seproject's. No easy fix, I'm afraid. Would require a new API for the project being renamed to communicate the change in location to all other open projects.
additionally there's no way to figure if the project is referenced from any non-opened projects, right?
Right, there is currently no persisted reverse index that would tell you about references from nonopen projects.
IMO the whole concept of allowing users to rename/move/copy/(delete?) projects from the IDE is flawed, given the nature of our underlying build systems (ant/maven/...). That's most visible in this case when inter-project dependencies come into play.
unlikely to be worked on for 7.0 or the next version.
NetBeans.org Migration: changing resolution from LATER to WONTFIX