Does the includedirs.../includedirs fileset work?
Since I am invoking Nant from the command line, it will inherit the current
environment. In order to ensure that regardless of a users local workstation
environment, my build works, I use the includedirs.../includedirs
fileset to specify the
I just had a thought. The change I made means that the following
includes statement :
includes name=**/* /
will include both files and directories which might break somthing that
is only expecting to get files passed to it.
we could add
filesonly and
directoriesdonly
attributes on the fileset
Tony,
The directories do get added to the Fileset, but under the
Fileset.Includes collection.
Changing the part of ClTask.cs that does the includes to reference
Fileset.Includes instead of Fileset.FileNames fixes that issue. However,
is it the correct, long term fix? Based on what you've stated,
PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [nant-dev] Problem with CL task and Filesets...
Tony,
the includedirs fileset wasn't working. The fileset scanning code was
only supporting files. ie it wasn't even trying to add