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 18600] New: - <metainf>can not work for <jar>
Date Wed, 02 Apr 2003 08:07:37 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=18600>.
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=18600

<metainf>can not work for <jar>

           Summary: <metainf>can not work for <jar>
           Product: Ant
           Version: 1.5.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jhuang@idncn.com


The below works well under ant1.5.1, but <metainf> not work under ant1.5.2.
<jar destfile="${basedir}/../${path.oamejb.jar}"
     basedir="${EjbDir}"
     includes="**/*.class"
     duplicate="fail"
     index="true">
    <manifest>
        <attribute name="Built-By" value="${manifest.vendor}"/>
        <attribute name="Built-Time" value="${TODAY}"/>
    </manifest>
    <metainf dir="${JavaSrcDir}">
        <include name="ejb-jar.xml"/>
        <include name="jboss.xml"/>
    </metainf>
</jar>

Thanks.

Mime
View raw message