You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2002/09/06 12:55:25 UTC

condition

Hi,

we have <isset> for properties and we should probably have something
similar to check whether a given id is a reference to something (there
has been some discussion on ant-user where this would have proven
useful).

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

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: condition

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 6 Sep 2002, Peter Donald <pe...@apache.org> wrote:

> Have a look at <property/> to see what overloading a type does ;)

Yes, I know, I could have suggested <available> 8-)

I can live with both alternatives.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: condition

Posted by Peter Donald <pe...@apache.org>.
On Fri, 6 Sep 2002 20:55, Stefan Bodewig wrote:
> Hi,
>
> we have <isset> for properties and we should probably have something
> similar to check whether a given id is a reference to something (there
> has been some discussion on ant-user where this would have proven
> useful).
>
> What do you think, do we add a refid attribute to <isset> or shall we
> introduce a separate condition? 

+1 for a separate type. Have a look at <property/> to see what overloading a 
type does ;)


-- 
Cheers,

Peter Donald
*-----------------------------------------------------*
* "Faced with the choice between changing one's mind, *
* and proving that there is no need to do so - almost *
* everyone gets busy on the proof."                   *
*              - John Kenneth Galbraith               *
*-----------------------------------------------------*


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: condition

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message ----- 
From: "Stefan Bodewig" <bo...@apache.org>
To: <an...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>