ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: how do you update a jar
Date Mon, 11 Sep 2000 10:24:03 GMT
>>>>> "PA" == Paul Arzul <> writes:

 PA> ant ignores my jar task when i specify an already existing jar to
 PA> add files too.

Because Ant only compares the timestamps of the JAR and the files you
specify. If all files you want to add are older than the JAR file
itself it figures there is nothing to do.

This is sufficient most of the time. The alternative (compare all
files with the corresponding entries inside the JAR) would mean a large
performance hit and is therefore avoided.

There is no way around it (apart from making Ant jar your static files
as well). There has been someone volunteering to implement the
alternative approach - as an option, not as the default - though.


View raw message