ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Tedone <Marco.Ted...@amplefuture.com>
Subject re[2]: Problems with available
Date Tue, 30 Mar 2004 14:41:06 GMT
Thank you. There was also another error. (Please be aware novice users!)
 
<target name="prepare-build">
   <available file="${commons.buildfile}" property="${commons.build}" />    --> This
should be <available file="${commons.buildfile}" property="commons.build"
  (Please note the difference in how the property has been defined). 
</target> 
 
> Marco,
Properties in Ant are immutable, once they are set they can't be changed.
Remove the "<property name="commons.build" value="false" />" line and 
all should be fine (for the purpose of if and unless attributes, 
undefined is equivalent to false)
/t

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


Mime
View raw message