This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
java/4918: Use of MainClass attribute when compiling a jar file
- From: Daniel dot Bonniot at inria dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 Nov 2001 12:56:53 -0000
- Subject: java/4918: Use of MainClass attribute when compiling a jar file
- Reply-to: Daniel dot Bonniot at inria dot fr
>Number: 4918
>Category: java
>Synopsis: Use of MainClass attribute when compiling a jar file
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Nov 21 05:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Daniel Bonniot
>Release: 3.0.2
>Organization:
>Environment:
>Description:
When gcj is invoked on a Jar archive without a
--main= argument, it would make sense to try to get
the main class from the archive's manifest's Main-Class
attribute.
If this info is here, it is most probably right.
This would save typing and errors with mispelling the class
name.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: