ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [Bug} jar Task
Date Wed, 06 Sep 2000 06:55:12 GMT
>>>>> "WF" == William Ferguson <> writes:

 WF> It seems that the jar task doesn't like adding a new file to an
 WF> existing jar.

The <zip>, <tar> and <jar> task all try to determine whether they need
to do anything based on the timestamps of the archive to create and
the timestamps of the files to add.

If your archive already exists, you won't be able to add a file (by
means of Ant) that is older than the archive. This is intended
behavior because everything else would mean you'd have to look into
the archive to retrieve the timestamps of the files within - which is
rather costly.


View raw message