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 51364 - JAR-Archive without MainClass-Entry in manifest
Summary: JAR-Archive without MainClass-Entry in manifest
Status: RESOLVED DUPLICATE of bug 50905
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 08:08 UTC by Klanthe
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 Klanthe 2004-11-10 08:08:51 UTC
Hi there,

when i create a new Project with the 
option "Create new Project from existing Source" 
in Netbeans 4.0 Beta 2, the generated JAR-Archive
has no "Main-Class"-Entry. If i create a new 
project without sources and copy the sources into 
the generated directory, the JAR-Archive is 
generated correctly. So i think its ab bug that 
only aaccures if i start a new project from 
existing sources.

Please tell me, if the problem is fixed.
michael@klanthe.de

Thanks so lot,
Michael
Comment 1 Klanthe 2004-11-10 08:23:16 UTC
I forget to tell, that the Entry is missing in the manifest-file of 
the generated JAR-Archive.
Comment 2 Ondrej Rypacek 2004-11-11 17:23:57 UTC
This is handled by the ant project system now.
Comment 3 David Konecny 2004-11-11 17:35:55 UTC
Fixed in newer build.

*** This issue has been marked as a duplicate of 50905 ***