Hmmm, seems the mailing list strips '\' [Windoze directory/path slash]
chars... so here's my question again. Hopefuly the slashes won't be stripped
this time, since I replace them with '/'.
Scenario:
Base directory (location of .build file) is "E:/IAP Dev/Source".
Under this are sub-project directories: a, b, c etc...
In SOME sub-projects are files matching the template '*.sq?'. I need to
execute a task (exec) on each matching file found.
Nexted <foreach... /> loops almost do the trick, but doesn't seem to
support pattern matching for item="file". For example the following
throws a script error:
<foreach item="File" in="${foldername}/*.sq?"
property="filename">
<echo message="${filename}"/>
</foreach>
So, maybe I should use File Sets? But I can find the magic incantation
for what I want.
When executing the task I need to have the full path to the target file
passed to the command:
<exec program="myTask" commandline="E:/IAP
Dev/Source/A/xxx.sqx"/>
Can anyone help?
tonyB.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users