You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/05/21 06:07:08 UTC

DO NOT REPLY [Bug 9258] New: - MANIFEST.MF line-break incorrect on 'Class-Path:'

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=9258>.
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=9258

MANIFEST.MF line-break incorrect on 'Class-Path:'

           Summary: MANIFEST.MF line-break incorrect on 'Class-Path:'
           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: arthuroy@yam.com


My build.xml has a target:

<target depends="compile" name="jar">
  <jar 
basedir="${build.dest}" 
       jarfile="${dist.dir}/lib/${project.name}-
${project.version}.jar" 
       manifest="${src.dir}/descriptor/jar/MANIFEST.MF">
  
</jar>
</target>

and the content of MANIFEST.MF is:

Manifest-Version: 1.0
Class-
Path: lib/log4j-1.1.3.jar lib/castor-0.9.3.9.jar lib/xerces-1.4.4.jar lib/commons-
beanutils-1.3.jar

Name: com/bwiz/business
Specification-Title: Business 
Classes
Specification-Version: 0.1
Specification-Vendor: YULON GROUP. B-WIZ Technology 
Co., Ltd.
Implementation-Title: com.bwiz.business
Implementation-Version: 0.1 
alpha
Implementation-Vendor: YULON GROUP. B-WIZ Technology Co., Ltd.

But the manifest.mf 
in the JAR file generated by the ANT, including 1.4.1 & 1.5beat1, is (1.5beta1 will not generate 
'Created-By:'):

Manifest-Version: 1.0
Created-By: Ant 1.4.1
Class-Path: lib/log4j-
1.1.3.jar lib/castor-0.9.3.9.jar lib/xerces-1.4.
 4.jar lib/commons-beanutils-
1.3.jar

Name: com/bwiz/business
Specification-Title: Business 
Classes
Specification-Vendor: YULON GROUP. B-WIZ Technology Co., Ltd.
Implementation-
Vendor: YULON GROUP. B-WIZ Technology Co., Ltd.
Specification-Version: 0.1
Implementation-
Version: 0.1 alpha
Implementation-Title: com.bwiz.business

----

you can see 
'lib/xerces-1.4.4.jar' was broken into 2 lines.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>