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

jar task cannot handle manifest files with long lines

           Summary: jar task cannot handle manifest files with long lines
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am trying to use the jar task as following
<jar jarfile="${STAGING_AREA}/${EJB_FILE_NAME}" basedir="${STAGING_AREA_TEMP}" 
manifest="${STAGING_AREA_TEMP}/META-INF/MANIFEST.MF"/>

The error I get is as follows. 

M:\was4.0poc_1_nibha\was4.0_poc\WSAD5TeamRepositoryForEFace\package.xml:89: 
Invalid Manifest: C:\was5package\EFace\INGFMEarProject.ear\temp\META-
INF\MANIFEST.MF
org.apache.tools.ant.taskdefs.ManifestException: Can't start an attribute with 
a continuation line  ss

The reason is beacuse the Manifest file has an entry as follows. 
Name: com/ingbarings/pmo/server/session/PmoBinaryObjectManagerHome.cla
 ss
MD5-Digest: 0k/aKuWKOMKtfCHsngE21w==
SHA-Digest: G2b7rXu37uHuvEnmqxjy7k9Ja6E=
Digest-Algorithms: SHA MD5

However when I use jar -cvfM form the command line to use the same Manifest 
file it jars fine. 

Am I missing something. 
                         thanks and regards,
                                   Nilanjana

Reply via email to