ant-user mailing list archives

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


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/${} is immutable

Regards, Gilbert
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message