delete the 'old' war?

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Torgeir Veimo [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 30. März 2006 16:19
>An: Ant Users List
>Betreff: RE: forced update with war target
>
>On Thu, 2006-03-30 at 15:04 +0100, Keith Hatton wrote:
>> Option 1. <touch> the files before <war> so that they will 
>definitely 
>> have a newer timestamp.
>> 
>> Option 2. <unwar> the archive, <copy overwrite="true"> the 
>files to be 
>> replaced, then <war> to create a new WAR file.
>
>The war file has 3000+ files. I was doing it this way to 
>create a faster build process, so option 2 is undesirable. 
>Option 1 is not really an option since the files comes from 
>the source directory, and I'd like to no touch them.
>
>Is it possible by writing some small java code? I guess it's 
>not too easy to replace the code that compares timestamps in 
>the zip task..
>
>--
>Torgeir Veimo <[EMAIL PROTECTED]>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to