ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Task writing: generic type support
Date Wed, 07 Sep 2005 08:38:56 GMT
Yves Martin wrote:
> Antoine Levy-Lambert <> writes:
>>Hello Yves,
>>AFAIK add(DataType) would work. This would map any nested element
>>containing a type defined using typedef, which is an instance of DataType.
>>addDataType(DataType) implies that you are mapping the <datatype/>
>>nested element to adding datatypes in your class.
>     Hello,
>  Thank you for your answer.
>  I have also found another issue in my code: my 'typedef' is done in a "child"
>  Ant Project... not in the parent Ant Project which uses this type.
>  Is there a "standard" way to propagate typedef/taskdef/antlib from a project
>  to another project ? Of course, I have access to ClassLoader and anything I
>  want...

you need to use <import> to pull the child build file into your project, 
  not <ant>.

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

View raw message