Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 74615 invoked from network); 4 Jun 2003 13:52:20 -0000 Received: from rwcrmhc51.attbi.com (204.127.198.38) by daedalus.apache.org with SMTP; 4 Jun 2003 13:52:20 -0000 Received: from nicki.visi.com (c-24-118-17-192.mn.client2.attbi.com[24.118.17.192]) by attbi.com (rwcrmhc51) with SMTP id <200306041352210510026hv2e>; Wed, 4 Jun 2003 13:52:21 +0000 Message-Id: <5.2.0.9.2.20030604085100.026cac78@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 04 Jun 2003 08:51:11 -0500 To: "Ant Users List" From: Jacob Kjome Subject: RE: Getting the name of the current file in a fileset In-Reply-To: <0AAF93247C75E3408638B965DEE11A7001671D27@i2km41-ukdy.domai n1.systemhost.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_1296950750==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_1296950750==.ALT Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable See: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D12368 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D18715 Jake At 02:26 PM 6/4/2003 +0100, you wrote: >Would you explain where I can find out about this feature? > >Martin Roberts >xml designer, >BT Exact >e-mail: martin.me.roberts@bt.com >tel: +44(0) 1473 609785 clickdial >fax: +44(0) 1473 609834 >Intranet Site :http://twiki.btlabs.bt.co.uk/twiki > > > >-----Original Message----- >From: Antoine Levy-Lambert [mailto:levylambert@tiscali-dsl.de] >Sent: 04 June 2003 13:52 >To: Ant Users List >Subject: Re: Getting the name of the current file in a fileset > > >What you are doing seems to be what the new task of ant 1.6alpha >is addressing. Antoine >----- Original Message ----- >From: >To: >Sent: Wednesday, June 04, 2003 2:48 PM >Subject: RE: Getting the name of the current file in a fileset > > >Jan, >How could I get multiple properties passed to the target being called from >the foreach. I need to set directories for the target to work with. > >Thanks > >Martin Roberts >xml designer, >BT Exact >e-mail: martin.me.roberts@bt.com >tel: +44(0) 1473 609785 clickdial >fax: +44(0) 1473 609834 >Intranet Site :http://twiki.btlabs.bt.co.uk/twiki > > > >-----Original Message----- >From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] >Sent: 04 June 2003 11:30 >To: user@ant.apache.org >Subject: AW: Getting the name of the current file in a fileset > > >I think the only way is to use AntContrib=B4s . >This topic is already discussed on >http://marc.theaimsgroup.com/?l=3Dant-user&m=3D104464267224692&w=3D2 > >Maybe we can add a property ${xmlfile} which is set by and can be >used in nested tags. > > >So the stylesheet can use its "thefile". > >Maybe a little work in XSLTProcess.process(File baseDir, String xmlFile, >File destDir, File stylesheet). > > >Jan > > > >Ant-Contrib: > Homepage: http://sourceforge.net/projects/ant-contrib/ > CVS-Source: >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/src/= n >et/sf/antcontrib/ > CVS-Manual: >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant-contrib/manu= a >l/index.html > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/ant-contrib/ant-c= o >ntrib/manual/tasks/index.html > Binary: http://gump.covalent.net/jars/latest/ant-contrib/ > > > > > -----Urspr=FCngliche Nachricht----- > > Von: martin.me.roberts@bt.com [mailto:martin.me.roberts@bt.com] > > Gesendet am: Mittwoch, 4. Juni 2003 12:10 > > An: user@ant.apache.org > > Betreff: Getting the name of the current file in a fileset > > > > Hi, > > I need to get the current file name so I can pass it into the > > xslt task as a value for the stylesheet. How do I do this? Is > > there a property > > for this? > > > > Martin Roberts > > > > > > > >--------------------------------------------------------------------- >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 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org --=====================_1296950750==.ALT--