Hello-
I'm wanting to iterate through all the subdirectories of my base directory
and perform an action on any file named AssemplyInfo.cs. I haven't been
able to get the correct syntax as of yet- hoping someone can point out what
I have wrong.
<target name="SetVersion" description="Set Version">
<fileset basedir="." id="projects">
<include name="**/AssemblyInfo.cs"/>
<include name="**/CommonAssemblyInfo.cs"/>
</fileset>
<foreach item="File" property="filename">
<in>
<items refid="projects" />
</in>
<do>
<exec program="CSCRIPT" commandline="${UPDATESCRIPT}
${filename} />
</do>
</foreach>
</target>
Thanks much for any help! Andy
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users