ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject RE: Roles (was: antlib)
Date Fri, 02 May 2003 10:46:21 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message