I found the closest match so far with this:
http://marc.info/?l=ant-user&m=108315917624682&w=2
> <scripttypedef name="myfileset" language="beanshell">
> import org.apache.tools.ant.types.FileSet;
> public class MyFileSet extends FileSet {
> }
> </scripttypedef>
> <myfileset id="x" dir="." includes="*.xml"/>
> <concat>
> <fileset refid="x"/>
> </concat>
On Fri, Sep 19, 2008 at 10:42 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote:
>
> How about a macrodef with an optional element? Or something like that?
>
> On Fri, 19 Sep 2008, Nan Null wrote:
>
>> Hi, I need to provide a fileset in ANT that is customizable by the
>> developers. To do that, I am thinking of a customized property file
>> for each developer to put in the list of files for the fileset. My
>> question is how do I have this in the property file? I am thinking of
>> a comma separated property. Then how do I turn this single value with
>> comma separated into a fileset inside ANT? Is there another method?
>> If not, please give me a hint on write some custom code to make this a
>> fileset. I am not asking on how to split a string here. I mean to
>> ask for how to extends ANT so I can have a customized fileset like
>> this. Thanks.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC 27549
>
> 252-478-8087 (Home)
> 919-754-4592 (Work)
>
> Chief Architect JPlate http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>
> Architect Keros http://sourceforge.net/projects/keros
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]