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.
If you create a J2SE project with the wizard and say that it is an application (rather than a library), the project generator should 1. Create a manifest.mf file. Can be initially empty; I am editing build-impl.xsl a bit to make sure that the Main-Class attr is added if it was not in the source manifest. 2. Set manifest.file=manifest.txt (or whatever it is called) in project.properties. 3. Add the <use-manifest/> marker to project.xml.
*** Issue 41944 has been marked as a duplicate of this issue. ***
A little change in manifest handling: committed * Up-To-Date 1.4 java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
Is this all what has to be done? I thought that it is more difficult task! :-)
Fixed in: Checking in src/org/netbeans/modules/java/j2seproject/J2SEProjectGenerator.java; new revision: 1.10; previous revision: 1.9 Checking in src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java; new revision: 1.8; previous revision: 1.7