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.
See recent discussion on nbusers - "Mainclass attribute in Jar- manifest" - apparently you can specify a main class, but no Main-Class manifest attribute is created for the generated jar (works fine for Java Application projects). These should probably be consistent.
This is a remainder to you, the owner of this bug, that this issue has P3, is reported against 4.0 and its target milestone has not yet been set. Please set the milestone, fix the issue or change its priority by tomorrow. Thank you for helping NetBeans to get ready for code freeze.
Tomas can you check it? The main class attr should be added whether or not there is an existing source manifest, I suppose.
I've set the target milestone to make Jarda happy :-) And I will try to fix it by tomorrow.
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectGenerator.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectGenerator.java,v <-- J2SEProjectGenerator.java new revision: 1.28; previous revision: 1.27 done Processing log script arguments... More commits to come... 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.25; previous revision: 1.24 done Processing log script arguments... More commits to come... Checking in j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/J2SEProjectGeneratorTest.java; /cvs/java/j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/J2SEProjectGeneratorTest.java,v <-- J2SEProjectGeneratorTest.java new revision: 1.2; previous revision: 1.1 done
*** Issue 50084 has been marked as a duplicate of this issue. ***
*** Issue 51364 has been marked as a duplicate of this issue. ***