ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7900] New: - Jar Task: Manifest Class-Path entry ignored.
Date Wed, 10 Apr 2002 00:26:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7900

Jar Task: Manifest Class-Path entry ignored.

           Summary: Jar Task: Manifest Class-Path entry ignored.
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: gregl@datacom.co.nz


A combination of odd features of jar and the ant jar task cause the manifest 
Class-Path entry to be ignored.

When I use jar(jdk1.3.1) to create a jar with a manifest the Class-Path entry 
is ignored unless it is specified before a Name entry.

Ant displays an error message if a Class-Path entry is included before a Name 
entry.

This means it is not possible to add a class-path entry in the manifest! This 
makes it very difficult to write build scripts which bundle libraries in ear 
files.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message