ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Szeto <rick.sz...@sitraka.com>
Subject updating jars
Date Wed, 27 Dec 2000 20:55:32 GMT
Hi,
    I have been encountering problems with inserting/updating files into exsting
jars, as the Jar task replaces the exisiting one with an empty jar. Try to do it
the hard way also fails for some reason, via exec:

    <exec executable="${java.home}\bin\jar.exe">
      <arg line="uf ${dist.dir}\project-ejb.jar
${src.root}\com\mycompany\project\common\filetoinsert.properties" />
    </exec>

Anything wrong with the above call? Or any solution to the problem?
Any help would be greatly appreciated

Rick Szeto


Mime
View raw message