David,

somthing like:

<project name="loadtasks" default="test">

<fileset id="foo" >
<includes name="C:\cvs\NAntContrib\build\NAnt.Contrib.Tasks.dll"/>
</fileset>

<target name="test">
<loadtasks>
<fileset refid="foo"/>
</loadtasks>
</target>
</project>

use an id to define a fileset reference at the project or target level and then reference it with the refid attribute.

Ian

The documentation for File Sets (http://nant.sourceforge.net/help/fundamentals/fog0000000026.html) says:

“File Sets can appear inside tasks that support this feature or at the project level, i.e., as children of |project|.”

Can someone point to an example of this usage?





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to