Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 84769 invoked from network); 7 Aug 2009 08:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 08:36:46 -0000 Received: (qmail 81565 invoked by uid 500); 7 Aug 2009 08:36:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 81497 invoked by uid 500); 7 Aug 2009 08:36:52 -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 81487 invoked by uid 99); 7 Aug 2009 08:36:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 08:36:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 08:36:41 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id n778aJaF009853 for ; Fri, 7 Aug 2009 10:36:20 +0200 Received: from z011103.bk.fin.local ([130.11.7.103]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 10:36:20 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011103.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 10:36:19 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: AW: Do several things with each record of a fileset Date: Fri, 7 Aug 2009 10:36:19 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B5505170FD6@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Do several things with each record of a fileset Thread-Index: AcoXMjqn9HY/C3bxQ1yjOwavgPSeoQAB01Ow References: <6A0F3F60F99A9345BEE66A21F61F5E7682D7BE@MADARRMAIL7.indra.es> From: To: X-OriginalArrivalTime: 07 Aug 2009 08:36:19.0965 (UTC) FILETIME=[233442D0:01CA173A] X-Virus-Checked: Checked by ClamAV on apache.org >I've got a fileset and I want to extract the differents path=20 >for each elemente of the fileset and do several things. For=20 >example: for each element of the fileset I want: > >1.- To know the path without the file name use like pattern. inside a loop maybe via a and a mapper >2.- Extract the first folder name of the result of step 1 , inside the loop or maybe via mapper >3.- Get the substring of step 1 without the first folder name > >4.- Create in another unit the same structure of folders of=20 >the step 3 and add at the end one new subfolder. > >5.- Create a file in this last subfolder > >6.- Pass to the next element of the fileset > >=20 > >Is it possible to do this? I know how to do the steps 4 and 5,=20 >but not the steps 1, 2, 3 and 6, Is it possible to do this=20 >steps with ANT or I must use anymore tool or option? Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org