ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: trouble with conditions for multiple JDK support
Date Wed, 19 Jun 2002 23:59:29 GMT
--- "John-Mason P. Shackelford" <john-mason@shackelford.org> wrote:
> The <condition> tag is not behaving as expected in ant 1.5 beta 2. 
> Perhaps this is a case of bad expectations :p

Nope -- bad syntax. You've got the "${}" construct where you shouldn't,
and you don't have it where you should.

> <target name="routine">
> 
>     <condition property="use.jdk.path" value="${modern.jdk.path}">
>     <and>
>         <equals arg1="compiler.type" arg2="modern" trim="true"
                        ^^^^^^^^^^^^^ ${compiler.type} 
> casesensitive="false"/>
>         <isset property="${modern.jdk.path}"/>
                           ^^^^^^^^^^^^^^^^^^ modern.jdk.path

(Same for the other <condition>.)

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