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 10960] New: - Manifest class-path wraps at 70 characters
Date Thu, 18 Jul 2002 18:44:11 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=10960>.
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=10960

Manifest class-path wraps at 70 characters

           Summary: Manifest class-path wraps at 70 characters
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: mkurtz@san.rr.com


I am using Ant V1.5 compiled July 9, 2002 and have found that the class-path in 
the manifest file I give to the jar task gets wrapped at the 70th character.  I 
am using the J2SDK/JRE version 1.4.0-b92.

The added newlines cause the class-path to be invalid and my app doesn't run 
properly.  I have a sample build.xml, .class files, and manifest that  will 
display the problem.  Let me know where to send them and I will.  For your 
convenience, I have included the snippets that might be helpful to you from the 
manifest and the build.xml files:

MANIFEST:
---------
Class-Path: ./ 
Emails.jar ../XmlDtd.jar ../CnEjbClient.jar ../FTPClient.jar ../TraceMgr.jar ../
jdom.jar ../orion.jar

Note that there are no line-feeds in the above class-path line in the manifest 
file.

Build.xml
------------
<jar jarfile="${staging.dir}/Test.jar" compress="false" 
basedir="${staging.dir}" manifest="${staging.dir}\manifest.mf">
    <patternset refid="common_app.files"/>
</jar>

Thanks,
-Mike

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