My hunting around DirectoryScanner left me with a nervous tick about the
same issue... mostly because the code is a bit mungy trying to do both
things at the same time...

Ant does have the distinction 'tween DirSet and FileSet... and I'm
starting to see why...

Brian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
MacLean
Sent: Tuesday, February 25, 2003 6:53 PM
To: Ian MacLean
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [nant-dev] Problem with CL task and Filesets...

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 to prevent this. Or is it better to have a 
seperate DirectorySet object that only accepts directoies ? Thoughts ?

Ian
> the includedirs fileset wasn't working. The fileset scanning code was 
> only supporting files. ie it wasn't even trying to add directories
that 
> matched the includes spec. Its working now.
> 
> I haven't tried running NAnt against Cordbg. What problems are you 
> having ? Is NAnt being built with debug info ?
> 
> Ian
> 
>> 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 project's include directories as follows:
>>
>>
> 





-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to