Peter, > > example: > <typedef myfileset mypath anttest etc ..> > <copy todir="output"> > <fileset ant-type="myfileset" dir="src" > newattribute="MyFileSet attribute"/> > </copy> > > <anttest> > <path ant-type="mypath" path="build.xml" > newattribute="MyPath attribute"/> > </anttest> >
I assume you meant to write "ant:type" instead of "ant-type"... I suppose in both examples all further attributes are for the target class. E.g. both attributes "dir" and "newattribute" are for <myfileset/>. Or would the "dir" attribute be required for types of <copy/>'s <fileset/> role? -- knut