ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: <isdefined> condition
Date Fri, 06 Sep 2002 16:03:43 GMT
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:steve_l@iseran.com] 
Sent: Friday, September 06, 2002 11:01 AM
To: Ant Developers List
Subject: Re: <isdefined> condition


----- Original Message ----- 
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
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