Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C40D911483 for ; Mon, 12 May 2014 21:25:24 +0000 (UTC) Received: (qmail 67243 invoked by uid 500); 12 May 2014 20:25:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67141 invoked by uid 500); 12 May 2014 20:25:24 -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 67132 invoked by uid 99); 12 May 2014 20:25:23 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 20:25:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of info4km@yahoo.com designates 98.138.91.60 as permitted sender) Received: from [98.138.91.60] (HELO nm22-vm0.bullet.mail.ne1.yahoo.com) (98.138.91.60) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 20:25:18 +0000 Received: from [98.138.100.114] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 12 May 2014 20:24:53 -0000 Received: from [98.138.101.172] by tm105.bullet.mail.ne1.yahoo.com with NNFMP; 12 May 2014 20:24:53 -0000 Received: from [127.0.0.1] by omp1083.mail.ne1.yahoo.com with NNFMP; 12 May 2014 20:24:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 582125.28100.bm@omp1083.mail.ne1.yahoo.com Received: (qmail 23338 invoked by uid 60001); 12 May 2014 20:24:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1399926293; bh=OAPoJxQ15Fkro7lp+3I2LvtjsgGORlD+OamKVBDbdng=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=DfSwKXZq/vQ33cUot1lOtHhbaUhURdxcrn+oOi20t334J5kZjvKNN9JrUmxwAsSP3JEOIZoKpx12lwYhbjkKhT5JapTT0wQqu5ZX38rNnOqsvbQnIWiHSFMcrtwvZyqoFB/BUxMLUtWx3aXdCQrjVdvOSIwAhby4Ttoq05GXyeY= X-YMail-OSG: EC18gEEVM1mLmzHXqW1CgIuSy2uNut.qi4mPa6eunvr_PLl sqLamgC2VXN2A8TFGPdoB4vyOPJ7olhbQnNDgHMP_iIkc58ufQDDClqziqrn anoODoA.d.VgTvhhZC58ep1oj1IbBc5KlQLxouNlQNGL6iica51fyWRpJNsn JIHGfXfjelxELNB.Vylsu.7J_j4TWLA290I1s4.QNd3UnNJgGhoG1VvsI6IH I1P3xu_GsGIp15WMsXCWp61NChvpzR.PIzKnVjJu0mU8v8Vwu78ybZQQ.XS6 C8OAJ6tyYDNb0Nhl71s_HtViG_ZULR4XIYaoNRo1r5v1AoN6qwA3ywtCgXqx eRdgezL5KM3wgXedrH1ll3018.WKR.s.6IW1HCHtsFXAbPKR6vcf5oO6pfxo iE1soTVehvffBPMDv9YFBZBXS6KrZho8SYQB0Rt2K_WpOfAY6Z9I6hJJCkpL GupxoBdrzGlFeRVt8w30aZTPyfoFxlEOfVeK.aBhNO1.LyhBmQq9lyr3fnXb TTkKwjSONdEtxCrh4GgYrRUb_cCwX_mFHI1dvJPsg8aj6uiOp Received: from [108.170.80.50] by web122603.mail.ne1.yahoo.com via HTTP; Mon, 12 May 2014 13:24:53 PDT X-Rocket-MIMEInfo: 002.001,WWVzLCBJIHVuZGVyc3RhbmQgdGhhdC7CoCBJIHdhcyBlbnRlcnRhaW5pbmcgdGhpcyBpZGVhIGJhc2VkIG9uIGEgc3RyYW5nZSBidWlsZCByZXF1aXJlbWVudC7CoCBJIG1heSBuZXZlciB1c2UgdGhpcywgYnV0IHN0aWxsIHdhbnRlZCB0byBrbm93IHRoZSBiZXN0IHdheSB0byBkbyBpdCBpZiBJIGRlY2lkZSB0byBnbyBmb3J3YXJkIG9uIHRoaXMuCgpLTQogCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwogRnJvbTogUm9lZHkgR3JlZW4gPHJvZWR5Z0BtaW5kcHJvZC5jb20.ClRvOiB1c2VyQGEBMAEBAQE- X-Mailer: YahooMailWebService/0.8.188.663 References: <1399477656.33161.YahooMailNeo@web122603.mail.ne1.yahoo.com> <1399916731.70217.YahooMailNeo@web122604.mail.ne1.yahoo.com> <5371128B.8000009@mindprod.com> Message-ID: <1399926293.45926.YahooMailNeo@web122603.mail.ne1.yahoo.com> Date: Mon, 12 May 2014 13:24:53 -0700 (PDT) From: KM Reply-To: KM Subject: Re: determine a list of class files to delete based on java files To: Ant Users List In-Reply-To: <5371128B.8000009@mindprod.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1706509047-948270838-1399926293=:45926" X-Virus-Checked: Checked by ClamAV on apache.org --1706509047-948270838-1399926293=:45926 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Yes, I understand that.=A0 I was entertaining this idea based on a strange = build requirement.=A0 I may never use this, but still wanted to know the be= st way to do it if I decide to go forward on this.=0A=0AKM=0A =0A=0A_______= _________________________=0A From: Roedy Green =0ATo: = user@ant.apache.org =0ASent: Monday, May 12, 2014 2:27 PM=0ASubject: Re: de= termine a list of class files to delete based on java files=0A =0A=0A=0AOn= 2014-05-12 10:45 AM, KM wrote:=0A =0AWasn't officially on the user list ye= t when I sent this -- so just in case I am resending it.=0AKM _____________= ___________________ From: KM mailto:info4km@yahoo.com To: mailto:user@ant.a= pache.org mailto:user@ant.apache.org Sent: Wednesday, May 7, 2014 11:47 AM= =0ASubject: determine a list of class files to delete based on java files H= i All, I need to figure out a way to get a list of the java files in my str= ucture and then delete the corresponding class files.=A0=A0 for example if = I have 2 java files a/one.java=A0 and b/two.java, I want to determine that = the list is: a/one.java=0Ab/two.java and then delete from my "output" direc= tory:=0Aoutput/a/one.class=0Aoutput/b/two.class How can I do it?=A0=A0=A0= =A0 I tried to delete all of the class files based on the list of java file= s using a mapper but it keeps telling me that delete doesn't support the ne= sted mapper element. Is there an easy way to do this?=0AKM =0ANormally you= just arrange your directory structure you you can delete all the class fil= es in a directory.=0A=0AWith take command you can write a script to delete = class files that=0A match given java files.=A0 See http://mindprod.com/j= gloss/takecommand.html=0A=0A=0A=0A-- =0ARoedy Green, pronounced RHOdee=0Acl= ick attached vCard (Rolodex icon) for contact details =0A=0A---------------= ------------------------------------------------------=0ATo unsubscribe, e-= mail: user-unsubscribe@ant.apache.org=0AFor additional commands, e-mail: us= er-help@ant.apache.org --1706509047-948270838-1399926293=:45926--