Re: nested ant cntrib for loops

2012-08-04 Thread Scot P. Floess
ne has a better solution. -- View this message in context: http://ant.1045680.n5.nabble.com/nested-ant-cntrib-for-loops-tp1340132p5713435.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: nested ant cntrib for loops

2012-08-04 Thread Scot P. Floess
x27;t support the nested "for" element” I can’t use UNIX shell or Perl. It has to be done in ANT  Please let me know if anyone has a better solution. -- View this message in context: http://ant.1045680.n5.nabble.com/nested-ant-cntrib-for-loops-tp1340132p5713435.html Sent from the Ant

nested ant cntrib for loops

2012-08-03 Thread Shweta
getting an error “ac:for doesn't support the nested "for" element” I can’t use UNIX shell or Perl. It has to be done in ANT  Please let me know if anyone has a better solution. -- View this message in context: http://ant.1045680.n5.nabble.com/nested-ant-cntrib-for-loops-tp13401

Re: AW: nested ant cntrib for loops

2010-03-10 Thread Klas K
- > Jürgen > -Ursprüngliche Nachricht- > Von: Klas K [mailto:k...@furingstad.nu] > Gesendet: Mittwoch, 10. März 2010 07:16 > An: user@ant.apache.org > Betreff: nested ant cntrib for loops > > > I have tried to use ant contribs for task by executing an outer

AW: nested ant cntrib for loops

2010-03-09 Thread Knuplesch, Juergen
loops I have tried to use ant contribs for task by executing an outer and an inner for loop, but the inner loop is not executed and I get no clue from logging. Does anyone have experience with this -- View this message in context: http://old.nabble.com/nested-ant-cntrib-for-loops

AW: nested ant cntrib for loops

2010-03-09 Thread Jan.Materne
;Gesendet: Mittwoch, 10. März 2010 07:16 >An: user@ant.apache.org >Betreff: nested ant cntrib for loops > > >I have tried to use ant contribs for task by executing an >outer and an inner >for loop, but the inner loop is not executed and I get no clue >from logging. > &g

nested ant cntrib for loops

2010-03-09 Thread Klas K
I have tried to use ant contribs for task by executing an outer and an inner for loop, but the inner loop is not executed and I get no clue from logging. Does anyone have experience with this -- View this message in context: http://old.nabble.com/nested-ant-cntrib-for-loops-tp27845981p27845981

AW: Trouble with simple for loops

2009-02-06 Thread Jan.Materne
ist >Betreff: Re: Trouble with simple for loops > >sorry to belabor the point, but I think I'm still not quite getting it: >>No, thats right. >>If you want to use you have to have Ant 1.6 or higher (like >>current 1.7.1). >> e.g. works with older Ant versions (

Re: Trouble with simple for loops

2009-02-06 Thread Steve Liu
sorry to belabor the point, but I think I'm still not quite getting it: >No, thats right. >If you want to use you have to have Ant 1.6 or higher (like >current 1.7.1). > e.g. works with older Ant versions (like 1.5). But I can't use but only , right? I understand that the difference is just the

AW: Trouble with simple for loops

2009-02-05 Thread Jan.Materne
>Thanks, that seems to work (missing a tho). I assume >that I would do the same for ? Yes. AC has a nice pattern: - provide a propertiesfile with tasks for Ant < 1.6 - provide a antlib.xml with tasks for Ant >= 1.6, which includes the properties file (If you write your own tasks, you dont need

Re: Trouble with simple for loops

2009-02-05 Thread Steve Liu
Thanks, that seems to work (missing a tho). I assume that I would do the same for ? I have a dumb question, according to this page: http://ant-contrib.sourceforge.net/tasks/tasks/for.html is valid for ant 1.6 or higher... so the doc is wrong? Thanks, Steve On 2/5/09, Peter Reilly wrote: > > y

Re: Trouble with simple for loops

2009-02-05 Thread Peter Reilly
you have to use the antlib.xml form of taskdef and not the antcontrib.properties form. The antcontrib.properties is for ant 1.5 and lower, the antlib.xml form is for ant 1.6 and higher. Use the following: @{iter} Peter On Thu, Feb 5, 2009 at 10:06 PM, Steve Liu wrote: > Hi, >

Trouble with simple for loops

2009-02-05 Thread Steve Liu
Hi, I'm trying to get the following to work Letter @{letter} However, when I run it. I get: I've searched the list, but I'm not trying anything fancy like junit... so I can't think of any jars I could need. But here is my classpath, in case it's

RE: Copying multiple source trees without loops

2007-02-08 Thread sam.hendley
t;> To: user@ant.apache.org >> Subject: Copying multiple source trees without loops >> >> >> I have been hacking at this problem for about an hour and I >> have to believe that there must just be something basic I am >> missing. I am rewriting our build sc

RE: Copying multiple source trees without loops

2007-02-07 Thread Daffin, Miles (IT)
each tree. Its neat, fast and simple. Miles > -Original Message- > From: sam.hendley [mailto:[EMAIL PROTECTED] > Sent: Thursday 08 February 2007 00:47 > To: user@ant.apache.org > Subject: Copying multiple source trees without loops > > > I have been hacking at t

Copying multiple source trees without loops

2007-02-07 Thread sam.hendley
I have been hacking at this problem for about an hour and I have to believe that there must just be something basic I am missing. I am rewriting our build scripts to be more maintainable, useful and faster. I am trying to avoid using antcontrib this time as all the loops and antcalls I had were

Re: How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-28 Thread Scot P. Floess
<[EMAIL PROTECTED]>/* wrote: Can you better word your question? I do not understand what it is you are asking... Hessu X wrote: > Hi, > > How to parallelize to unzipping done by Ant-Contrib's for-loops? > > > > >

Re: How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-28 Thread Hessu X
Just want to unziiping to be done in parallel to save time. "Scot P. Floess" <[EMAIL PROTECTED]> wrote: Can you better word your question? I do not understand what it is you are asking... Hessu X wrote: > Hi, > > How to parallelize to unzipping d

Re: How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-27 Thread Scot P. Floess
Can you better word your question? I do not understand what it is you are asking... Hessu X wrote: Hi, How to parallelize to unzipping done by Ant-Contrib's for-loops? - All-new Yahoo! Mail - Fire up a more powerful email and get t

How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-27 Thread Hessu X
Hi, How to parallelize to unzipping done by Ant-Contrib's for-loops? - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

RE: Loops

2006-07-17 Thread bill/wilandra
] Sent: Monday, July 17, 2006 2:47 PM To: user@ant.apache.org Subject: Re: Loops What is ant contrib? Some kind of tag library? I'd prefer to use the common ant tags, yet still solve the problem.. -- View this message in context: http://www.nabble.com/Loops-tf1956629.html#a5369035 Sent from th

Re: Loops

2006-07-17 Thread Scot P. Floess
ant contrib is a separate project for ant... Here is the URL: http://ant-contrib.sourceforge.net/ There was a time I was fairly adamant about not using anything but stock ant. However, there are some -really- useful tasks include in ant contrib - so I conceded and use it too... Otherwise,

Re: Loops

2006-07-17 Thread danielpaval
What is ant contrib? Some kind of tag library? I'd prefer to use the common ant tags, yet still solve the problem.. -- View this message in context: http://www.nabble.com/Loops-tf1956629.html#a5369035 Sent from the Ant - Users forum at Nabbl

Re: Loops

2006-07-17 Thread Scot P. Floess
Ant contrib has a nice loop that uses a delimiter attribute... danielpaval wrote: Is there any way I can make a target run for a definite number of times.. Like a "for" or at least a "while" loop? To be more explicit I want a property's value tokenized in order to use the token as target para

Loops

2006-07-17 Thread danielpaval
Is there any way I can make a target run for a definite number of times.. Like a "for" or at least a "while" loop? To be more explicit I want a property's value tokenized in order to use the token as target parameters.. Thanks. -- View this message in context: ht

RE: Probs with property expansion in loops

2005-08-30 Thread Dominique Devienne
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > i have a problem with properties in > > Once the first time the updatelist and deletelist are loaded for the > first environment = @{Lum} it cannot be overwrited for the next > environment in the list ${Lums}. > > How

RE: Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
Hi, Rick Thanks a million !! you've made my day :-))) Dealing with for + macrodef ain't easy, as i never used that before ... Now i have = for list="[EMAIL PROTECTED] and for list="[EMAIL PROTECTED] in the inner loops 3 and 4 Gilbert -Original Message- From:

RE: Probs with property expansion in loops

2005-08-30 Thread Rick Genter
TECTED] Sent: Tuesday, August 30, 2005 9:18 AM To: user@ant.apache.org Subject: Probs with property expansion in loops Hi, i have a problem with properties in scenario = Three lists : - list with all environments that should be served (loaded outside all loops) - list with all servers

RE: Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
e var name= .. with loadfile property ?! Gilbert -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 3:23 PM To: Ant Users List Subject: RE: Probs with property expansion in loops In core ant, properties are immutable. Also, there are

RE: Probs with property expansion in loops

2005-08-30 Thread Burgess, Benjamin
In core ant, properties are immutable. Also, there are no loops. However, using ant-contrib you can add a for loop. Also with ant-contrib you will have to use to unset the property. Ben Burgess -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Tuesday, August

Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
Hi, i have a problem with properties in scenario = Three lists : - list with all environments that should be served (loaded outside all loops) - list with all servers of one environment (loaded in loop 2) - list of files to be deleted on those servers - list of files to be copied to those

Re: filter loops in 1.6.2

2005-02-03 Thread Matt Benson
--- Chris Shabsin <[EMAIL PROTECTED]> wrote: > >It may be that what you are looking for is an > option > >to turn off recursive token expansion in > filtersets. > >Does this sound correct? > > > > > Yes, that's precisely what I need. > This will be in Ant 1.6.3 . -Matt > -Chris > > > -

Re: filter loops in 1.6.2

2005-01-13 Thread Chris Shabsin
Matt Benson wrote: According to CVS, this behavior should be evident in Ant >= 1.5.1 . Sorry; I made the assumption when I saw a change entry that seemed to match what I was seeing; we have an old version of Ant that our build system uses, and I didn't think to see just how far back the proble

Re: filter loops in 1.6.2

2005-01-13 Thread Matt Benson
--- Chris Shabsin <[EMAIL PROTECTED]> wrote: > In versions of Ant prior to 1.6.2 it was possible to > use filters to > modify a token found in a file. For example: > > > > > > In 1.6.2, the fixed bugs list includes the entry: > > * replacestring tokenfilter only replaced the > first

filter loops in 1.6.2

2005-01-13 Thread Chris Shabsin
In versions of Ant prior to 1.6.2 it was possible to use filters to modify a token found in a file. For example: In 1.6.2, the fixed bugs list includes the entry: * replacestring tokenfilter only replaced the first occurrence. And, lo and behold, attempting to run this filter in 1.6.2 now

Avoiding logging loops

2005-01-10 Thread Ceki =?iso-8859-1?Q?G=FClc=FC?=
Hello, While running test cases for log4j, I have noticed that our latest version produces an infinite loop in Project.fireMessageLoggedEvent() since in our test version, org.apache.log4j.Logger.getLogger() generates output on the console, which triggers another call to fireMessageLoggedEvent, henc