Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
updating jar file with existing file: overwrite?

updating jar file with existing file: overwrite?

2005-05-16       - By Andreas Bothner [ MTN - Innovation Centre ]
Reply:     1     2     3     4     5  

Hi,



I have an ear archive that contains an application.xml file which I need
to replace.  The jar, zip, and ear tasks all do not provide the
functionality of replacing the file as far as I can see.  The duplicate
argument only takes "fail", "skip" and "add" as arguments.



Does anybody know how I can do this, or do I have to extract the entire
archive, replace the file and recreate the archive?



Regards,

Andreas



NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www
.mtn.co.za/default.aspx?pid=34411


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.