This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java/4918: Use of MainClass attribute when compiling a jar file



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]