> i would like to write an own task which use the nested tag <fileset>.
Here's how I did it:
---
public void addConvert(FileSet fs) {
converts.addElement(fs);
}
private Vector converts = new Vector();
---
That let's me say in my build.xml file (for example):
---
<mytag ...>
<convert dir="build">
<include name="**/*.properties"/>
<exclude name="**/*Test*"/>
</convert>
<convert dir="debug" includes="*Debug.class"/>
</mytag>
---
The <convert> tag is a fileset.
See the TiniAnt source for more details:
http://www.ad1440.net/~kelly/sw/tiniant/
--k