ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Set value if directory exists
Date Fri, 11 Sep 2009 11:54:48 GMT


P.S. 

no =
<available file="/local/tmp" type="dir" property="out.dir" />
would set ${out.dir} = true but you want /local/tmp
therefore the use of the value attribute

<available property="out.dir" value="/local/tmp" type="dir"
file="/local/tmp" /> should work

maybe you don't have the appropriate rights on /local/tmp ?
Or the other <available> task is called earlier and the
out.dir property once set to /tmp/${user.name} is immutable


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


Mime
View raw message