ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] Adding Dynamic elements for the n'th time
Date Wed, 27 Nov 2002 17:23:05 GMT
On Wed, 27 Nov 2002, Magesh Umasankar <umagesh@apache.org> wrote:

>> I think I remember it.  A problem arises when you have two
>> different nested elements (element names) that both accept the same
>> class.  Say you have <mypath> that is derived from Path, what would
>> it be used for in
>> 
>> <javac ...>
>>   <mypath .../>
>> </javac>
>> 
>> src, classpath, sourcepath, bootclasspath and extdirs would be
>> possible.  Has this been the reason for your choice Conor?  How
>> would your patch deal with it Magesh?
> 
> If you have addMyPath(MyPath) that would be called;
> Else
> If you have addPath(Path), that would be called.

But I have addSrc(Path) and addClasspath(Path) - which would be
called?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message