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 32187] New: - Error in package versionning when generate manifest in <jar> task.
Date Thu, 11 Nov 2004 16:35:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32187>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32187

Error in package versionning when generate manifest in <jar> task.

           Summary: Error in package versionning when generate manifest in
                    <jar> task.
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: ramele@visa.com.ar


JDK 1_4_1_02/JDK 1_4_2_06

Using:

      <jar manifestencoding="ISO-8885-1"  
jarfile="${deploy.dir}/lib/common.jar" basedir="${build.dir}/">
         <manifest>
            <attribute name="Built-By" value="${user.name}"/>
            <section name="ar/com/common">
               <attribute name="Sealed" value="false"/>
               <attribute name="Specification-Title" value="SNA HostDG 
Specification"/>
               <attribute name="Specification-Version" value="${version}"/>
               <attribute name="Specification-Vendor" value="Argentina"/>
               <attribute name="Implementation-Title" value="ar.com.common"/>
               <attribute name="Implementation-Version" value="${version} 
${TODAY}"/>
               <attribute name="Implementation-Vendor" value="Common SNA"/>
            </section>
</manifest>
</jar>

Generate a jar file with a MANIFEST file that contains a blank line before the 
first section (after the Build-By property).  Using this blank line doesn't 
allow to properly package identification: package.getImplementationVendor() and 
related methods all return nulls.  The bug is fixed if the blank line is 
removed.

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


Mime
View raw message