I realize that the problem is because I try to use an AC variable in a fileset include attribute like in the following example
<ac:for param="i"> <path> <fileset dir="${proj.src.dir}"> <include name="*CON*.xml"/> </fileset> </path> <sequential> <ac:var name="A" unset="true"/> <ac:propertyregex property="A" input="@{i}" regexp="[A-Za-z]{1}:\\.+d([A-Z]{3})\w{3}([A-Z]{2})\.xml" replace="\1"/> <ac:for param="j"> <path> <fileset dir="${proj.src.dir}"> <include name="${A}*.xml"/> </fileset> </path> <sequential> <echo>Comp:${A}</echo> <ac:var name="B" unset="true"/> <ac:propertyregex property="B" input="@{j}" regexp="[A-Za-z]{1}:\\.+d([A-Z]{3})\w{3}([A-Z]{2})\.xml" replace="\2"/> <echo>Lng:${B}</echo> </sequential> </ac:for> </sequential> </ac:for> Have any of you an idea of how I can handle this. In my first loop I itterate on all files in a folder to read out the first three positions of the file name which defines a component, in the inner loop I use this component to find al language variants of and the language code is defined by the last two positions of the file name. Knuplesch, Juergen wrote: > > Hello, > > I use antcontrib a lot and have no such problems. > > Please share a part of your code. > > Greetings Juergen > > > -- > 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 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.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > -- View this message in context: http://old.nabble.com/nested-ant-cntrib-for-loops-tp27845981p27851843.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org