ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: backup files being overwritten before executing the unzip task
Date Wed, 18 Feb 2004 22:39:33 GMT
--- Praveen Savur <Praveen.Savur@Sun.COM> wrote:
 1) There are a set of files in directory DirX.
> 2) There is another set of files in a zip file
> ZipFileX.
> 3)  I want to extract the contents of ZipFileX into
> DirX,  but before 
> doing that I want to take a backup of only those
> files in DirX which 
> will be overwritten by the unzipping of ZipX.
>      So is there any other way to do this.

1.  Write a custom task, or
2.  Unzip to a temporary directory, then backup files
in DirX that also exist in the temporary directory,
then copy over the files from the temporary directory
to DirX.


Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

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

View raw message