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 created a new project called MyApp. It created them a directory called MyApp, a build.xml having as project name MyApp, a build-impl.xml having as project name MyApp-impl. Then I right-click on the project, select Project Properties, and replace the project name with a new one (MyNewApp). But the directory has not been renamed, nor the project name in the build.xml and build-impl.xml But comments are well modified: Hereafter a piece of the build.xml file after renaming project MyApp into MyNewApp: <?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <!-- The names of existing targets are significant to the IDE and should not be removed. --> <!-- (For example, 'javadoc' is run when you choose Build -> Generate Javadoc.) --> <project name="MyApp" default="default" basedir="."> <description> Builds, tests, and runs the project MyNewApp. </description> As you can see, the name of project is always MyApp, but in the description, I have well MyNewApp. Very strange as situation.
Basically needs agreement on what we do with project names and display names. Probably <display-name> should not be used at all, only <name> (this means a change in build.xsl); apparently renaming a project right now changes <display-name> but not <name>. And the General tab of the project customizer is not supposed to show the option to rename the project at all, according to the current UI spec (can't remember if this is intentional or not).
Fixed when implementing the requrements from usability study. See issue #42185. Rename of the project is no longer supported.
Reorganization of java component