ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Refresh file
Date Wed, 21 Dec 2005 10:30:58 GMT
Just <copy> from A to B? 
* files which doesnt exist in A wont be selected and therefore not be copied
* older files in A are sorted out by <copy>

Jan

>-----Ursprüngliche Nachricht-----
>Von: edouard cante [mailto:ecante@buyingpack.com] 
>Gesendet: Mittwoch, 21. Dezember 2005 11:28
>An: user@ant.apache.org
>Betreff: Refresh file
>
>Hello,
>
>I have 2 directory, A and B.
>I would like to refresh B with A. In fact, I want that all the 
>files in B will be replace by the same file from A if it is 
>more recent and if it exists in A.
>I test the task synchronise and copy, but my script always 
>copy the new file from A to B.
>
>Thanks
>-- 
>
>
>
>Edouard Cante,  <ecante@buyingpack.com>
>Responsable Décisionnel et Architecture
>*BuyingPack SA
>*/Les portes de l'Arbois/
>/1090 rue René Descartes - 13857 Aix-en-Provence cedex 3/
>/Tél: 04 42 90 42 80
>//www.buyingpack.com/
>

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


Mime
View raw message