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.

Bug 41987

Summary: Project name not renamed in build.xml and build-impl.xml
Product: java Reporter: vbrabant <vbrabant>
Component: UnsupportedAssignee: Petr Hrebejk <phrebejk>
Severity: blocker CC: jglick, jrojcek
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description vbrabant 2004-04-14 23:12:39 UTC
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=".">
        Builds, tests, and runs the project MyNewApp.

As you can see, the name of project is always
MyApp, but in the description, I have well 
Very strange as situation.
Comment 1 Jesse Glick 2004-04-14 23:31:44 UTC
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).
Comment 2 Petr Hrebejk 2004-05-03 16:43:38 UTC
Fixed when implementing the requrements from usability study. See
issue #42185. Rename of the project is no longer supported.
Comment 3 Quality Engineering 2007-09-20 09:55:34 UTC
Reorganization of java component