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.
|Summary:||J2SE project type wizard should create a manifest when appropriate|
|Product:||java||Reporter:||Jesse Glick <jglick>|
|Component:||Unsupported||Assignee:||David Konecny <dkonecny>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
Description Jesse Glick 2004-04-24 01:24:11 UTC
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.
Comment 1 Jesse Glick 2004-04-25 18:01:00 UTC
*** Issue 41944 has been marked as a duplicate of this issue. ***
Comment 2 Jesse Glick 2004-04-25 18:03:16 UTC
A little change in manifest handling: committed * Up-To-Date 1.4 java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
Comment 3 David Konecny 2004-05-13 11:38:55 UTC
Is this all what has to be done? I thought that it is more difficult task! :-)
Comment 4 David Konecny 2004-05-13 11:48:54 UTC
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