|
I was
wondering if there is a bug with referencing included filesets or is it just a syntax
issue? Some help would be great, I am just trying to simplify the build
scripts for my team. This is the
main build file: <project
name="MasterProjectRunner" default="BuildAll" <property
name="base.dir" value="${nant.project.basedir}"/> <include buildfile="ExcludeBuilds.xml" /> … <target
name="BuildAll" > <foreach
item="File" property="filename" verbose="true"
>
<in> <items
refid="ExcludeBuilds" />
</in>
<do> <echo
message="...Attempting to build ${filename}..." />
</do>
</foreach> </target> </project> Include file: <project> <!--###
use to exclude certain .build files from being run ### --> <fileset
id="ExcludeBuilds" basedir="${base.dir}"
verbose="true"> <includes
name="**/*.build" /> <excludes
name="*.build" /> <excludes
name="**/*.Service.build" /> </fileset> </project> Thanks. - From: Brandon Lonac Hello… I am trying to reference a fileset by ID
from an included file using <include> with out much luck. The ID is
referenced correctly b/c there is no error that the ID can not be found,
however the fileset is empty. If I move the fileset into the main build
file it works fine. This is the version I am using: NAnt 0.85 (Build 0.85.1495.0;
net-1.0.win32; nightly; 2/4/2004) Thanks. - |
