ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@attbi.com>
Subject problem with condition using boolean
Date Sat, 17 May 2003 21:16:47 GMT
the following blows off with a: Element type "isUnix" must be followed by 
either attribute specifications, ">" or "/>". happens if i use 
isUnix="true" or just isUnix by itself. blows in unix or windoze 98se using 
ant 5.1.

how does one use a property that is set to true in a <condition 
property=...> statement?

thanks

<project basedir="." default="all" name="ImageViewer">
         <target name="init">
                 <condition property="isUnix"> <os family="unix"/> </condition>
                 <echo message="isUnix=${isUnix}"/>
                 <condition property="junitPath" value="../junit3.7"> 
<isUnix=true/> </condition>

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/


Mime
View raw message