Problem 1 :
<target name="Build" >
<foreach item="File" in="${OutputFolder}" property="filename">
<in>
<items>
<includes name="**/medco*.*"/>
</items>
</in>
<do>
<echo message="${filename}"/>
</do>
</foreach>
</target>The above foreach tags must retrieve all those files having medco as prefix but this retrieves all files. but when i remove the in="${OutputFolder}" then it works as expected. seems to be a bug
Problem 2 :
In the above example i am iterating thru file list but i want only the file name to be extracted. C:\Test\Reg.htm, I want the Reg portion of string.
Regards Yogesh S
_________________________________________________________________
Watch Hallmark. Enjoy cool movies. http://server1.msn.co.in/sp03/hallmark/index.asp Win hot prizes!
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
