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 71576 - Default project name not updated when switching beteen module project types.
Summary: Default project name not updated when switching beteen module project types.
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2006-01-19 02:21 UTC by ngbrito
Modified: 2007-09-23 21:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (44.71 KB, image/jpeg)
2006-01-19 02:22 UTC, ngbrito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ngbrito 2006-01-19 02:21:21 UTC
Do the following:
1) Select "File"->"New Project"->"NetBeans Plug-in Modules"->"Module Suite Project".
2) Press "Next".

After this the project name will be set to the default of "suite1". Now continue:
3) Press "Back".
4) Select "Module Project".
5) Press "Next".

After this the project name should have changed to "module1" but instead it
remains as "suite1". It will not change unless you close the "New Project"
window and start again.

A similar thing happens if you select first "Module Project", but in that case
the project name will be "module1".

In all the other project types, the project name agrees with the project type
and changes as you select one or another.

By the way: all other project names start with a capital letter, but this one
doesn't. Do NetBeans modules always start with a small letter?
Comment 1 ngbrito 2006-01-19 02:22:51 UTC
Created attachment 28452 [details]
Screenshot
Comment 2 Jan Lahoda 2006-01-20 12:57:39 UTC
=>apisupport/project
Comment 3 Martin Krauskopf 2006-01-20 13:34:03 UTC
Right. Thanks for another catch.

> By the way: all other project names start with a capital letter, but this one
> doesn't. Do NetBeans modules always start with a small letter?

You already asked this in issue 71578. It will be solve as part of that issue.
Comment 4 Martin Krauskopf 2006-02-17 14:08:55 UTC
Fixed together with refactoring.

Wizard and visual panels know just about its data now + other clean up.

ui/wizard/BasicConfVisualPanel.java; 1.32 -> 1.33;
ui/wizard/BasicConfWizardPanel.java; 1.9 -> 1.10;
ui/wizard/BasicInfoVisualPanel.java; 1.55 -> 1.56;
ui/wizard/BasicInfoWizardPanel.java; 1.14 -> 1.15;
ui/wizard/BasicVisualPanel.java; 1.14 -> 1.15;
ui/wizard/BasicWizardPanel.java; 1.10 -> 1.11;
ui/wizard/LibraryConfWizardPanel.java; 1.3 -> 1.4;
ui/wizard/LibraryStartVisualPanel.java; 1.16 -> 1.17;
ui/wizard/LibraryStartWizardPanel.java; 1.1 -> 1.2;
ui/wizard/NewModuleProjectData.java; 1.13 -> 1.14;
ui/wizard/NewNbModuleWizardIterator.java; 1.33 -> 1.34;
Comment 5 Martin Krauskopf 2006-02-20 14:46:37 UTC
Backported.

ui/wizard/BasicConfVisualPanel.java; 1.31 -> 1.31.2.1;
ui/wizard/BasicConfWizardPanel.java; 1.9 -> 1.9.8.1;
ui/wizard/BasicInfoVisualPanel.java; 1.52.2.2 -> 1.52.2.3;
ui/wizard/BasicInfoWizardPanel.java; 1.14 -> 1.14.8.1;
ui/wizard/BasicVisualPanel.java; 1.14 -> 1.14.2.1;
ui/wizard/BasicWizardPanel.java; 1.10 -> 1.10.2.1;
ui/wizard/LibraryConfWizardPanel.java; 1.3 -> 1.3.8.1;
ui/wizard/LibraryStartVisualPanel.java; 1.15 -> 1.15.2.1;
ui/wizard/LibraryStartWizardPanel.java; 1.1 -> 1.1.30.1;
ui/wizard/NewModuleProjectData.java; 1.13 -> 1.13.8.1;
ui/wizard/NewNbModuleWizardIterator.java; 1.33 -> 1.33.2.1;
test/unit/ui/wizard/LibraryStartVisualPanelTest.java; 1.3 -> 1.3.24.1;