Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 20127 invoked from network); 12 Dec 2002 20:28:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Dec 2002 20:28:27 -0000 Received: (qmail 4861 invoked by uid 97); 12 Dec 2002 20:29:27 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4835 invoked by uid 97); 12 Dec 2002 20:29:26 -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 4823 invoked by uid 98); 12 Dec 2002 20:29:25 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Patternsets and Filesets X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Thu, 12 Dec 2002 13:27:50 -0700 Message-ID: <783A3EE2AA17B349B869477606E922A61716A4@USMAIL04.morinda.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Patternsets and Filesets Thread-Index: AcKiGvRgfSsJWcdHQCCcnj8SR8wV4gAAMqQw From: "Nathan Christiansen" To: "Ant Users List" X-OriginalArrivalTime: 12 Dec 2002 20:27:50.0516 (UTC) FILETIME=[F0F4E340:01C2A21C] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N But this deletes the files from the ${web.src.dir} directory not the = ${web.deploy.dir}. -- Nathan -----Original Message----- From: Dominique Devienne [mailto:DDevienne@lgc.com] Sent: Thursday, December 12, 2002 1:13 PM To: 'Ant Users List' Subject: RE: Patternsets and Filesets Use Ids: --DD -----Original Message----- From: Nathan Christiansen [mailto:Nathan_Christiansen@morinda.com]=20 Sent: Thursday, December 12, 2002 1:51 PM To: 'Ant Users List' (E-mail) Subject: Patternsets and Filesets I have been looking over patternsets anf filesets and am not quite sure = how to do what I want to do. What I want to do is: 1. Get a listing of all files in directory A.=20 2. Save the list into a property or equivalent.=20 3. Use the list to select which files to delete from directory B. Step 1 is easy: For Step 2 I don't know how to save this result into a variable. And for step 3 I would like to: <[Saved File Listing from Step 2]> So if I have 3 files in ${web.src.dir} I would like to delete the same = three files from ${web.deploy.dir} without touching the other files in ${web.deploy.dir}. Is it possible to use patternsets for this or are patternsets used for saving the include and exclude patterns only and not for saving the = results of the task. If not patternsets then how? -- Nathan Christiansen x2421 -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: