struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Gonzalez" <>
Subject Re: [OT]Ant Script
Date Wed, 25 Feb 2004 18:03:09 GMT
    I do not mean to be harsh or something, but a simple look at the doc
would have solved your problem

    It´s on the second sentence!
        "Copies a file or FileSet to a new file or directory. By default,
files are only copied if the source file is newer than the destination file"

    Best Regards,

----- Original Message ----- 
From: "Ramadoss Chinnakuzhandai" <>
To: <>
Sent: Wednesday, February 25, 2004 2:50 PM
Subject: [OT]Ant Script

      Using Ant Script is it possible to detect the latest modified file by
comparing the same file across two different locations and make them sync or
override the old file with the latest modified file and make sure that same
version of file exists on these two different location??

dirX/abc.jsp(timestamp as today)
                ====>ant script which will update abc.jsp under dirY with
abc.jsp under dirX
dirY/abc.jsp(timestamp as yesterday)

is there any ANT guru to solve my "my brain's fuzzing"


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message