Hi,

I have two usage questions.

Question #1: <includeFileset>
-------------------------------------
The <csc> task only allows one <references /> section; however, I would
like to use two separate named filesets for references.  One fileset
will be for references to custom assemblies, while the other will be
for BCL assemblies.  For example:

<fileset id="fileset.references" basedir="${dir.project}">
  <includes name="MyAssembly.dll" />
</fileset>
    
<fileset id="fileset.references.framework" basedir="${dir.framework}">
  <includes name="System.dll" />
  <includes name="${dir.nunit}"/>
</fileset>

I would then like to call <csc> as follows:


<csc target="library" ...>
  <sources refid="fileset.sources" />
  <resources refid="fileset.resources" />
  <references>
    <includeFileset refid="fileset.references" />
    <includeFileset refid="fileset.references.framework" />
  </references>
</csc>


Is <includeFileset> supported by NAnt? If so, which build do I need to
use <includeFileset>?

Question #2: pipe copy into a fileset?
-------------------------------------
Now, my second question.  Is there a way to pipe the files created by a
<copy> task into a fileset for later use?  For example, assume a copy
task like:

<copy todir="${dir.assembly}">
   <fileset refid="filesets.references" />
</copy>

For NUnit, I need to copy references to my local build dir to run unit
testing prior to deploying the new assembly.  So, I'd like to
"rollback" the temporary copies of the references once the tests pass. 
 For example, using a refid to the pipe'd fileset created by <copy>

<delete>
   <fileset basedir="${dir.assembly}" refid="[FILESET FROM THE COPY
TASK]" />
</delete>


Thanks so much for reading this question.

Regards,
Steve


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to