Hi all,

this snippet:
  <if test="${1==1}">
   <fileset id="f1" basedir="c:\temp\foo">
    <includes name="item3"/>
   </fileset>
  </if>
is currently not possible because type definitions are allowed only at
project or task level. Is it intended or should we allow this as well?


I'm working on extension that will allow this:
   <fileset id="f1" basedir="c:\temp\foo">    <!-- define f1 fileset -->
    <includes name="item1"/>
    <includes name="item2"/>
   </fileset>

  <if test="${1==1}">
  <fileset id="f1" basedir="c:\temp\foo">    <!-- extend existing f1 fileset
with new item -->
    <includes name="item3"/>
    <includesFileset refid="f1"/>
  </fileset>
  </if>

that means - extending existing filesets. Use in the foreach is also
possible... What do you think about that?

Martin



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to