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

generate MANIFEST.MF with ant task

           Summary: generate MANIFEST.MF with ant task
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In order to tag a correct version into the MANIFEST.MF file , I propose to use 
the ant sub-task: <manifest>, with, no need to checkout MANIFEST.MF file, and 
we are sure to have the correct version number.

in build.xml:

        <jar jarfile="${build.home}/library/${app.name}.jar"
            manifest="${conf.share.dir}/MANIFEST.MF"
            basedir="${build.home}/library/classes"
            includes="**">
            <manifest>
                <attribute name="Extension-Name" value="org.apache.struts"/>
                <attribute name="Implementation-Title" value="${project.name}"/>
                <attribute name="Implementation-Version" 
value="${project.version}"/>
            </manifest>
        </jar>

The MANIFEST.MF into conf/share will be :

Manifest-Version: 1.0
Specification-Title: Struts Framework
Specification-Vendor: Apache Software Foundation
Specification-Version: 1.1
Implementation-Vendor: Apache Software Foundation
Implementation-Vendor-Id: org.apache
Class-Path: commons-beanutils.jar
Class-Path: commons-collections.jar
Class-Path: commons-dbcp.jar
Class-Path: commons-digester.jar
Class-Path: commons-logging.jar
Class-Path: commons-pool.jar
Class-Path: commons-validator.jar
Class-Path: jakarta-oro.jar

no need to checkout tis file for a delivery.

if thats can help
Guillaume Compagnon [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to