ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Lea <>
Subject How to Write A Custom Path / Fileset
Date Fri, 08 Apr 2005 22:39:27 GMT
I want to write a custom Fileset type that reads input from a file.
I don't want to support any nested elements, I just want to be able to 
do something like this:

    <libraryset id="myLibraries" file="libraries.txt"/>

and have a custom class create a fileset based on the content of 

So, I have two questions:

1. Is it possible for me to do this (i.e. define a new DataType and use 
it in a build file)?
[Or do I have to write a custom Task that creates the fileset?]

2. If the answer to 1. is 'Yes', where/what should I be extending?
[Or, if the answer is 'No', what sort of FileSet should my task be 

Thanks very much,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message