Hi...

 

            I was just trying to use a pre-defined fileset in foreach
but haven't been able to come up with the right incantation.  I tried

<fileset id="foo">

   <include.../>

   <include.../>

</fileset>

 

<foreach item="File" property="filename">

  <in>

    <items><fileset refid="svnchg"/></items>

  </in>

  <do>

    <echo message="${filename}"/>

  </do>

</foreach>

 

But nant complains that I can't have a fileset in a fileset (I'm taking
it that <items> is equivalent to <fileset> since the doc link takes you
to the same place).

 

            Any way to make this work?

 

Thanks
mark

 
This e-mail message, and any attachments, is intended only for the use of the 
individual or entity identified in the alias address of this message and may 
contain information that is confidential, privileged and subject to legal 
restrictions and penalties regarding its unauthorized disclosure and use. Any 
unauthorized review, copying, disclosure, use or distribution is strictly 
prohibited. If you have received this e-mail message in error, please notify 
the sender immediately by reply e-mail and delete this message, and any 
attachments, from your system. Thank you.
-------------------------------------------------------------------------
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
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to