RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
Thanks alot that really helped and I dint even have to add the excludes statement. -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365697.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
i tried everything else earlier but not "*" what does "*" actually stand for? -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365698.html Sent from the Ant - Users mailing list a

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread Murray, Mike
You could try something like includes="*", but I'm not sure of the intent of your excludes. -Original Message- From: rhea [mailto:karissacab...@gmail.com] Sent: Monday, January 31, 2011 5:18 AM To: user@ant.apache.org Subject: how to exclude a basedir while loopin

how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
inner directories. Have any ideas? -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3364313.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: Better alternative than using foreach, for and if/then/else?

2010-05-07 Thread Bailey, Darragh
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: 06 May 2010 04:39 > To: user@ant.apache.org > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > On 2010-05-05, Bailey, Darragh wrote: > > >

Re: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Stefan Bodewig
On 2010-05-05, Bailey, Darragh wrote: > 1) Is for/foreach the only real option for what I'm attempting to > accomplish here in building multiple end targets based on the contents > of properties? I'd recommend writing a custom task for this rather than trying to implement it in XML. Using Ant's

RE: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Martin Gainty
ous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: dbai...@hp.com > To: user@ant.apache.org > Date: Wed, 5 May 2010 16:10:41 + > Subject: RE: Better alternative than using foreach, for and if/then/else? > > > > -Original Message- >

RE: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
> -Original Message- > From: Peter Reilly [mailto:peter.kitt.rei...@gmail.com] > Sent: 05 May 2010 14:46 > To: Ant Users List > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > You need to use ant 1.8 and the task. > declares

Re: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Peter Reilly
You need to use ant 1.8 and the task. declares that a property is local to the current scope, as defined by the enclosing or see: http://ant.apache.org/manual/CoreTasks/local.html

Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
Have recently just started using Ant, with the goal to using it as the default build tool across an entire project. While most of the project will be java based, there are a few parts that won't be and I'm trying to make ant work as effectively as possible for these sections. One of them just

RE: Using foreach

2009-06-24 Thread Rebhan, Gilbert
-Original Message- From: Matt Benson [mailto:gudnabr...@yahoo.com] Sent: Wednesday, June 24, 2009 2:57 PM To: Ant Users List Subject: RE: Using foreach /* Not to rain on the proverbial parade, but you don't need iteration or third-party tasks to do this: HTH, Matt P.S

RE: Using foreach

2009-06-24 Thread Matt Benson
Not to rain on the proverbial parade, but you don't need iteration or third-party tasks to do this: HTH, Matt P.S. You also didn't need to wrap your fileset in a path on your iteration-based example. --- On Wed, 6/24/09, nisse wrote: > From: nisse > Subject: R

RE: Using foreach

2009-06-24 Thread Rebhan, Gilbert
-Original Message- From: Rebhan, Gilbert [mailto:gilbert.reb...@huk-coburg.de] Sent: Wednesday, June 24, 2009 9:33 AM To: 'Ant Users List' Subject: RE: Using foreach -Original Message- From: nisse [mailto:nisse...@home.se] Sent: Wednesday, June 24, 2009 9:21 A

RE: Using foreach

2009-06-24 Thread nisse
Thanks! Works great! Rebhan, Gilbert wrote: > > > -Original Message- > From: nisse [mailto:nisse...@home.se] > Sent: Wednesday, June 24, 2009 9:21 AM > To: user@ant.apache.org > Subject: Using foreach > > /* > > [..] > > > This code pri

RE: Using foreach

2009-06-24 Thread Rebhan, Gilbert
-Original Message- From: nisse [mailto:nisse...@home.se] Sent: Wednesday, June 24, 2009 9:21 AM To: user@ant.apache.org Subject: Using foreach /* [..] This code prints for example "C:/Temp/MyFile.txt" But I only want it to print "MyFile.txt", how do I do

Using foreach

2009-06-24 Thread nisse
only want it to print "MyFile.txt", how do I do that in a simple way?? Very grateful for any help! -- View this message in context: http://www.nabble.com/Using-foreach-tp24179911p24179911.html Sent from the Ant - Users mailing l