For better type safety, it would be nice to optionally check the reference is of an expected type. I would propose:
<isreference ref="someID" type="path" /> <isreference ref="someID" classname="org.acme.MyType" /> with 'type' and 'classname' being optional (and exclusive to each other). --DD -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Friday, September 06, 2002 11:01 AM To: Ant Developers List Subject: Re: <isdefined> condition ----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 06, 2002 3:55 AM Subject: <isdefined> condition > What do you think, do we add a refid attribute to <isset> or shall we > introduce a separate condition? I tend to implement it within > <isset>. <isset refid> works for me -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
