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.

Bug 42423 - J2SE project type wizard should create a manifest when appropriate
Summary: J2SE project type wizard should create a manifest when appropriate
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
: 41944 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-04-24 01:24 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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