| updating jar file with existing file: overwrite? | updating jar file with existing file: overwrite? 2005-05-16 - By Andreas Bothner [ MTN - Innovation Centre ]
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
|
|
 |