ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Creating a ZIP based on changed files
Date Sat, 24 Nov 2001 23:45:37 GMT

----- Original Message -----
From: "Bruce Atherton" <bruce@callenish.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, November 23, 2001 11:43 AM
Subject: Creating a ZIP based on changed files



> What I would like to do is use Ant to create a difference ZIP containing
> just the files that have been added or changed since the complete system
> ZIP was created.
>
> Conceptually what I'd like to do is create a fileset based on the contents
> of the ZIP file and then filter out of the fileset files that are
identical
> to ones in a directory tree. I'd then like to feed that filtered fileset
> into a <zip task>.
>
> This is the sequence that the <zip> task (and the <copy> task) perform
> automatically, except that the destination is always the same as the
> original fileset that is being compared against. I'd like some way to
> specify in Ant that I want the destination to be in a different place, so
> that it can contain ONLY the changed files.
>
> Does anyone have any ideas about how Ant could do this, or do I need to
> hack the source?

Can you use FTP to only upload changed tasks instead, or are firewalls and
things getting in the way?



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


Mime
View raw message