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 50905 - Main class attribute not used in jar project w/ existing sources
Summary: Main class attribute not used in jar project w/ existing sources
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 50084 51364 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-10-27 14:11 UTC by _ tboudreau
Modified: 2004-11-11 17:35 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 _ tboudreau 2004-10-27 14:11:01 UTC
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.
Comment 1 Jaroslav Tulach 2004-10-27 15:15:45 UTC
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.
Comment 2 Jesse Glick 2004-10-27 21:55:37 UTC
Tomas can you check it? The main class attr should be added whether or
not there is an existing source manifest, I suppose.
Comment 3 Tomas Zezula 2004-10-28 20:38:51 UTC
I've set the target milestone to make Jarda happy :-)
And I will try to fix it by tomorrow.
Comment 4 Tomas Zezula 2004-10-29 13:04:11 UTC
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
Comment 5 David Konecny 2004-11-01 08:50:26 UTC
*** Issue 50084 has been marked as a duplicate of this issue. ***
Comment 6 David Konecny 2004-11-11 17:35:54 UTC
*** Issue 51364 has been marked as a duplicate of this issue. ***