ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Hatton" <khat...@axiomsystems.com>
Subject RE: forced update with war target
Date Thu, 30 Mar 2006 14:04:59 GMT
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.

Hope this helps
Keith


-----Original Message-----
From: Torgeir Veimo [mailto:torgeir@pobox.com] 
Sent: 30 March 2006 14:35
To: user@ant.apache.org
Subject: forced update with war target


I'm using the war target to update a war file, with update="true", but
it seems it only updated files that has a newer timestamp than those in
the war file. 

Is there a way to force all files that I specify to be updated in the
war file?
-- 
Torgeir Veimo <torgeir@pobox.com>


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


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


Mime
View raw message