ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson" <>
Subject Set value if directory exists
Date Fri, 11 Sep 2009 11:22:21 GMT

How can I set the value of out.dir to /local/tmp/ if it exists.
Currently  the second option when /tmp exists set the value out.dir  to

I know that /local/tmp exists.


	<available property="out.dir" value="/local/tmp" type="dir"
file="/local/tmp" />
	<available property="out.dir" value="/tmp/${}"
type="dir" file="/tmp" />
	<property name="out.dir" location="." />

Mikael Petterson
Software Designer

Ericsson AB, Stockholm, Sweden
Visiting address: Torshamnsgatan 42, Kista
Phone: +46 70 2673044 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message