From user-return-59724-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Feb 09 23:09:53 2007 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38463 invoked from network); 9 Feb 2007 23:09:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 23:09:52 -0000 Received: (qmail 27802 invoked by uid 500); 9 Feb 2007 23:09:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 27771 invoked by uid 500); 9 Feb 2007 23:09:54 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 27760 invoked by uid 99); 9 Feb 2007 23:09:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 15:09:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [71.6.11.180] (HELO zazu.stratalight.com) (71.6.11.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 15:09:44 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: at my wits end with delete Date: Fri, 9 Feb 2007 15:09:23 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: at my wits end with delete Thread-Index: AcdMm/hSV5RZo5vaTR6t5QTA7XmlrAAAJ39QAAB5zrA= From: "Tracy Jones" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Ok - thanks for the help!! I made the changes that everyone suggested and now it does not delete anything at all (which is better in a way) changed my exclude to excludes (but it's a space separated list which is read from a properties file) - this is what it looks like in the properties file directories=3DOS-4000-1.6(B18)Beta/**\ OTS-SC-1.6(B18)Beta/**\ OTS-4010-1.6(B17)Beta/**\ OTS-4040-1.6(B17)Beta/**\ OTS-4400-1.6(B17)Beta /**\ OTS-4540-1.6(B17)Beta/**\ OTS-4520-1.6(B17)Beta/**\ OTS-Common-1.6(B18)Beta/**\ OTS-4011-1.6(B17)Beta/** Here's the new output from the run fileset: Setup scanner in dir /opt/stratalight/packages with patternSet{ includes: [*/**] excludes: [OS-4000-1.6(B18)Beta/**, OTS-SC-1.6(B18)Beta/**, OTS-4010-1.6(B17)Beta/**, OTS-4040-1.6(B17)Beta/**, OTS-4400-1.6(B17)Beta/**, OTS-4540-1.6(B17)Beta/**, OTS-4520-1.6(B17)Beta/**, OTS-Common-1.6(B18)Beta/**, OTS-4011-1.6(B17)Beta/**] } here's the new code snippet I also tried changing the space separated to comma separated and still no luck :-( -----Original Message----- From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]=20 Sent: Friday, February 09, 2007 2:51 PM To: Ant Users List Subject: RE: at my wits end with delete The excludes should be comma seperated. It's difficult to tell from your post whether or not that is the case. Please send the part of your build.xml that defines the excludes.=20 -Rob Anderson > -----Original Message----- > From: Tracy Jones [mailto:tracy@stratalight.com]=20 > Sent: Friday, February 09, 2007 2:45 PM > To: Ant Users List > Subject: at my wits end with delete >=20 > =20 >=20 > I just cannot get this right >=20 > =20 >=20 > I have set up my fileset to exclude a list of directories and delete > everything else >=20 > =20 >=20 > fileset: Setup scanner in dir /opt/stratalight/packages with=20 > patternSet{ > includes: [*/**] excludes: [OS-4000-1.6(B18)Beta/** > OTS-SC-1.6(B18)Beta/** OTS-4010-1.6(B17)Beta/**=20 > OTS-4040-1.6(B17)Beta/** > OTS-4400-1.6(B17)Beta/** OTS-4540-1.6(B17)Beta/** > OTS-4520-1.6(B17)Beta/** OTS-Common-1.6(B18)Beta/** > OTS-4011-1.6(B17)Beta/**] } >=20 > [delete] Deleting > /opt/stratalight/packages/OS-4000-1.6(B18)Beta/OTS-4010/client > Fpga4010.s > lim >=20 > =20 >=20 > But (as you can see) the first thing it deletes is something under one > of my excluded directories. Can someone please point out what I am > doing wrong??? Thanks >=20 > =20 >=20 > Tracy >=20 > =20 >=20 > (ant 1.7.0) >=20 > =20 >=20 > Here's the snippet of code=20 >=20 > =20 >=20 > ${directories} is OS-4000-1.6(B18)Beta/** OTS-SC-1.6(B18)Beta/** > OTS-4010-1.6(B17)Beta/** OTS-4040-1.6(B17)Beta/** > OTS-4400-1.6(B17)Beta/** OTS-4540-1.6(B17)Beta/** > OTS-4520-1.6(B17)Beta/** OTS-Common-1.6(B18)Beta/** > OTS-4011-1.6(B17)Beta/** >=20 > =20 >=20 > ^M >=20 > casesensitive=3D"yes"> >=20 > >=20 > >=20 > >=20 > ^M >=20 > =20 >=20 > =20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org