ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <isdefined> condition
Date Mon, 09 Sep 2002 08:29:29 GMT
On Fri, 6 Sep 2002, Dominique Devienne <DDevienne@lgc.com> wrote:

> For better type safety, it would be nice to optionally check the
> reference is of an expected type.

I like it.

> <isreference ref="someID" type="path" />

implemented.

> <isreference ref="someID" classname="org.acme.MyType" />

Not done (yet?).

This also implies you add the full host of classpath stuff and use
loaderref or something to really get it working (you'd have to make
sure you use the same classloader that has been used to load the
refid'd class).

I don't think it would be that useful and avoided the work. 8-)

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