here's an undocumented aspect of filesets that may be what you want (i don't know ant...) <includesList name="filename.txt" />
here's how i used it and what it does: for c:\lala.txt that contains: c:\bobo.exe c:\lala.exe d:\kiki.exe c:\temp\**.exe i nant this: <target name="test-includesList" > <foreach item="File" property="f" > <in> <items> <includesList name="c:\lala.txt" /> </items> </in> <do> <echo message="${f}" /> </do> </foreach> </target> and nant outputs is: test-includesList: [echo] c:\bobo.exe [echo] c:\lala.exe [echo] d:\kiki.exe [echo] c:\temp\**.exe HTH > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Rodrigo B. de Oliveira > Sent: Friday, December 05, 2003 14:51 > To: [EMAIL PROTECTED] > Subject: [Nant-users] equivalent of <fileset > includesFile="foo.txt" />? > > > While translanting an ant build file to nant I couldn't find > an appropriate replacement for the includesFile attribute of > the fileset element... What's the simplest way to achieve the > same effect? > > Thanks in advance, > Rodrigo > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us > help YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/n> ant-users > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users