Felice, Not sure if this is the best or only way, but this is how I would do it:
<foreach item="Projects" in="A\A.vbproj,B\B.vbproj" delim="," property="projName"> <echo message="projName = ${projName}"/> </foreach> --- Felice Vittoria <[EMAIL PROTECTED]> wrote: > Hello, > > Is something like this valid with the latest nightly > build of Nant ( 0.85-20040711 )? > > <fileset id="vbprojs"> > <include name="A\A.vbproj" /> > <include name="B\B.vbproj" /> > </fileset> > > <target name="test"> > <foreach item="File" property="projName"> > <in refid="vbprojs" /> > <do> > <echo message="projName = ${projName}"/> > </do> > </foreach> > </target> > > If so, then I'm getting errors. If it's not valid, > then I see why I'm getting errors. > > Felice > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_idG21&alloc_id040&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users