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.
When user creates a new J2SE project, a Project Name is given by default (Java Project n). And that project name is used for the proposal of the main class: org.Java_Project_N.Main. But the guidelines for Java is the following: packages would not contains _ or Uppercase letters. So, please avoid to propose stuff like that.
Let's see what will UI guys say.
Actually I believe a mixedCasePackageName is OK. But certainly starting a package name with an uppercase letter is strange.
Agreed. The spec describes it (Create Main Class field description): http://projects.netbeans.org/nonav/buildsys/j2se-project-ui- spec.html#Step_2_New_Java_Application_Proj
Tomas please evaluate.
Already fixed. The name is created without "_" and always starts with low letter.
Could you tell me when it has been fixed because with 20040608, it's not yet fixed. If you follow specs http://projects.netbeans.org/nonav/buildsys/j2se-project-ui-spec.html#Step_2_New_Java_Application_Proj I must be able to create a project 'My First Project' and having as Main class myfirstproject.Main. Or I obtain 'myFirstProject'. So, I conclude that fix is not compliant with specs. Thank you very much.
I just tested with 200406161800 and creating a project like 'My First Project" will create a package like 'myFirstPackage'. And that's not compliant with your spec.
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.20; previous revision: 1.19 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java,v <-- NewJ2SEProjectWizardIterator.java new revision: 1.18; previous revision: 1.17 done
Reorganization of java component