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