Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 77582 invoked from network); 6 Oct 2003 05:24:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Oct 2003 05:24:08 -0000 Received: (qmail 35781 invoked by uid 500); 6 Oct 2003 05:23:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 35737 invoked by uid 500); 6 Oct 2003 05:23:33 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 35617 invoked from network); 6 Oct 2003 05:23:32 -0000 Received: from unknown (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by daedalus.apache.org with SMTP; 6 Oct 2003 05:23:32 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id h965Nf5O024275 for ; Mon, 6 Oct 2003 07:23:41 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id <4JNZKR6P>; Mon, 6 Oct 2003 07:23:42 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF70D6@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: Directory list for FOR-EACH Task Date: Mon, 6 Oct 2003 07:23:41 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C38BCA.011A6EB0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C38BCA.011A6EB0 Content-Type: text/plain; charset="UTF-8" You can also use the property value. But you have to specify the separator. ... Jan > -----Original Message----- > From: peter reilly [mailto:peter.reilly@corvil.com] > Sent: Thursday, October 02, 2003 7:30 PM > To: Ant Users List; Vikas Phonsa > Subject: Re: Directory list for FOR-EACH Task > > > You can use the path element of foreach: > > > ${dir.name} > > > > > > > > > > Peter > On Thursday 02 October 2003 18:20, Vikas Phonsa wrote: > > I'm using the following target to display a list of > directories in a root > > directory. It prints out the absolute path of each directory > > > > > > > > > > > pathsep="${line.separator}"/> ${fs.value} > > > > > > > > How can I supply the path of each directory to a foreach task of > > ant-contrib. > > > > Also can I extract just the names of the directories from > the absolute > > paths Generated by the above target. > > > > Please guide. > > > > Thanks > > > > Vikas > > > > > --------------------------------------------------------------------- > > 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 > ------_=_NextPart_001_01C38BCA.011A6EB0--