Hi,

 

There’s a task called foreach, which might be just what you’re looking for:

 

http://nant.sourceforge.net/release/latest/help/tasks/foreach.html

 

-Ernst Kuschke

http://dotnet.org.za/ernst

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shoukri Khelfa
Sent: 14 March 2005 11:13 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Nant looping functionality

 

Hi,

 

I’m looking for a way to perform a loop but I can not find which task that does that, here is what I’m trying to do:

 

I’m trying to compile my source code and place the output binaries on a share with a dummy file that indicate that the files are ready to be signed, from there a signing service will start signing the files, and once the service is done signing the binaries, it will delete the dummy file and then my Nant build script will understand that the signing operation is complete.

 

Now I can not find in Nant’s list of tasks any task that do the looping functionality (something like do{}/loop).

I’m thinking something like the following:

                   

                   <copy all files to share folder>

                   <do while ="$( file::exists('{nant.project.basedir}\share\dummy.txt')}>

                   sleep 1000

                   <loop>

 

I’m new to Nant so please excuse my ignoranceJ

Thx

-S.J.K

Reply via email to