Hi Scott,

Thanks for the clarification.  I was working from the Fundamentals/Filesets
docs which suggested that the Includes attribute on Fileset consists of:

"comma-separated list of patterns of files that must be included; all files
are included when omitted."

But this didn't appear to be true.

I'll try the includesList although I think my build files will turn rather
ugly emitting a separate file to hold sources/refs file specs.

I may have a look over the developer archives - get an idea of the general
thoughts on this issue.  It's a really powerful feature of Ant and I'm
struggling to share build rules across multiple components without it.


Darren

-----Original Message-----
From: Scott Hernandez [mailto:[EMAIL PROTECTED]] 
Sent: 06 January 2003 22:15
To: Darren Syzling; [EMAIL PROTECTED]
Subject: Re: [Nant-users] fileset parameterisation

There have discussions about supporting an id/ref system for naming filesets
and really any task. But no code has be put in cvs :)

As for the format of the fileset in text file it is not csv (comma
separated) but one per line.
<fileset>
    <includesList name="filename.txt"/>
</fileset>

There were some discussions about changing the name of the includesList
element, but the current code reflects that sample above.

----- Original Message -----
From: "Darren Syzling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 12:09 PM
Subject: [Nant-users] fileset parameterisation


> I'd like to be able to centralise my build rules wherever possible.
>
> Is it possible to parameterise filesets, for example the 'sources' and
> 'references' elements of the csc task.  The docs suggest that all Filesets
> are comma separated lists of file specifications.  My attempts to build a
> comma separated list of file specs within a property and use with a csc
task
> always fail.
>
> Alternatively is it possible to reference filesets by id or name?  Java
Ant
> defines path elements which can be referenced via id - is this available
or
> may be under development?
>
>
> Darren
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to