ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: updating jar file with existing file: overwrite?
Date Tue, 17 May 2005 22:18:59 GMT
I think one can add a sleep for two seconds before zipping to work 
around time rounding issues. It would be great to do it automatically, 
if necessary.

- Alexey.

Stefan Bodewig wrote:

>On Mon, 16 May 2005, Andreas Bothner <Bothne_A@mtn.co.za> wrote:
>
>  
>
>>Thanks Keith.  I tried to do this using touch, however, this did not
>>work because the date time stamp does not go down to milliseconds...
>>    
>>
>
><zip> and friends can only use what the underlying archive format
>allows.  And ZIPs only support a granularity of two seconds.
>
>If you are using Ant 1.6.2 or later, you can use the roundup attribute
>of the task to make it consider your archived files out of date.  Note
>that it may now always do so.
>
>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>  
>

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message