ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Goldman" <jgold...@iconverse.com>
Subject RE: Conditional processing
Date Fri, 16 Aug 2002 15:58:18 GMT
look at the 'if' and 'unless' attributes on targets

-jay


-----Original Message-----
From: Settle, William [mailto:William.Settle@alltel.com]
Sent: Tuesday, August 13, 2002 12:04 PM
To: "ant-user@jakarta.apache.org" 
Subject: Conditional processing


I am looking for a way to test if a property is set and if so, do one
thing.  If
it is not set, then do another.  Something like

if property set
  do something
else
  do something else

It looks like using the <condition> tag with the <isset> tag might work
but I
can't figure out how to make it work.

I would appreciate any help you can give,
Bill

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


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


Mime
View raw message