ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Fail task's if and unless do not seem to work like other tasks
Date Thu, 20 Jun 2002 19:30:58 GMT
--- Jesse Stockall <jesse@cryptocard.com> wrote:
>      <fail 
> 	message="com.cryptocard.jpcsc.PCSC must be compiled first"
> 	unless="${PCSC}"

Whenever the name of a property is being asked for, not the value, just
use the name itself, without enclosing it in "${}". (In other words, your
<fail> was running because you don't have a property named (literally)
${PCSC} set -- you have a property named PCSC set.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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