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 21542] - Updated MANIFEST.MF doesn't get updated in JAR
Date Wed, 30 Jul 2003 13:02:46 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=21542>.
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=21542

Updated MANIFEST.MF doesn't get updated in JAR





------- Additional Comments From bodewig@apache.org  2003-07-30 13:02 -------
Hmm, I've tried the following self-contained build file

<project default="jar">
  <target name="jar">
    <delete file="jar.jar"/>
    <manifest file="1.mf">
      <attribute name="Name1" value="Value1"/>
    </manifest>
    <jar destfile="jar.jar" manifest="1.mf">
      <fileset dir="." excludes="1.mf"/>
    </jar>
    <manifest file="1.mf" mode="update">
      <attribute name="Name2" value="Value2"/>
    </manifest>
    <jar destfile="jar.jar" manifest="1.mf" update="true">
      <fileset dir="." excludes="1.mf,jar.jar"/>
    </jar>
  </target>
</project>

and it works for both 1.5.3 and CVS HEAD. The resulting manifest is updated.
Does it work for you as well?

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


Mime
View raw message