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.
The IDE provides a default project name (something like WebApplication2). When you choose a different folder it will not update the name so Finish is diabled. This is annoying when testing :-)
Pavel, now I cannot reproduce mentioned annoying behavior. Perhaps the issue had been fixed as part of another fix. Please verify it.
It is still reproducible: 1) Have a directory with WebApp project of default name WebApplication1 2) Run IDE with clean userdir 3) Invoke New WebApp wizard (default name WebApplication1 is prefilled) 4) Browse directory from step 1 5) ERROR: There's error "Project Folder already exists and is not empty". I'd expect automatic number change in the default project name (to WebApplication2 in this case). At least I think that's what Pavel tried to point out. I agree that it's annoying when testing.
Fixed in Web application wizard. If project location is changed and project name is generated (unmodified by user), a generated project folder location is examined. If there is a conflict that prevents to continue, a new project names are generated in sequence until the name does not cause a conflict. Sequence number of the generated project name is stored only if the name is used for a newly created project. J2SE project wizard should be changed accordingly. Checking in project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.java,v <-- ImportLocationVisual.java new revision: 1.26; previous revision: 1.25 done Checking in project/src/org/netbeans/modules/web/project/ui/wizards/ImportWebProjectWizardIterator.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportWebProjectWizardIterator.java,v <-- ImportWebProjectWizardIterator.java new revision: 1.37; previous revision: 1.36 done Checking in project/src/org/netbeans/modules/web/project/ui/wizards/NewWebProjectWizardIterator.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/NewWebProjectWizardIterator.java,v <-- NewWebProjectWizardIterator.java new revision: 1.12; previous revision: 1.11 done Checking in project/src/org/netbeans/modules/web/project/ui/wizards/PanelProjectLocationVisual.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelProjectLocationVisual.java,v <-- PanelProjectLocationVisual.java new revision: 1.20; previous revision: 1.19 done
I don't want to do something like this. There are several problems. The project name is changed when the project folder is changed even the project name is above the project folder. There is no way how to reasonably fill the project location text field when the project folder is typed by user.
We won't fix this one in J2SE project. It is really questionable how it should work.