Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 60810 invoked from network); 23 Nov 2001 19:43:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Nov 2001 19:43:50 -0000 Received: (qmail 636 invoked by uid 97); 23 Nov 2001 19:43:47 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 620 invoked by uid 97); 23 Nov 2001 19:43:46 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 609 invoked from network); 23 Nov 2001 19:43:46 -0000 Message-Id: <5.1.0.14.0.20011123102735.00b09e38@orson.callenish.com> Date: Fri, 23 Nov 2001 11:43:42 -0800 To: "Ant Users List" From: Bruce Atherton Subject: Creating a ZIP based on changed files In-Reply-To: <007601c17443$7e9661a0$d14cd6d1@compaq> References: <264632F0D885D411916400010263722D7C9D17@ZEUS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a build that creates a very large ZIP file which contains the entire system that gets deployed. The trouble is that my deployment machine is quite remote from me, and I don't want to transfer the entire system if there are only a couple of files that need to be updated on the deployment machine. 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 . This is the sequence that the task (and the 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? -- To unsubscribe, e-mail: For additional commands, e-mail: