Yep.... should be doable.
Something like:
<foreach property="csproj.name">
<in>
<items basedir="basepath">
<include name="**.csproj" />
</items>
</in>
<do>
<msbuild project="${csproj.name}" />
</do>
</foreach>
BOb
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik
Ramfelt
Sent: Friday, May 11, 2007 8:23 AM
To: [email protected]
Subject: [NAnt-users] Finding files and executing an ant task on result?
Hi
Im wondering if there any way to go through a bunch of sub folders,
and find all csproj files and compile those using msbuild?
What I need is a way to go though all folders and find csproj files
that match a certain regex (all ends with MsgLib.csproj), call the ant
task MSBuild using the found file name.
Is this possible with nant?
Thanks
//Erik
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users