Mikael Petterson schrieb:
> Hi,
>
> 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
> /tmp/myuser
>
> I know that /local/tmp exists.
>
> //mike
>
>file="/local/tmp" />
>type="dir" f
P.S.
no =
would set ${out.dir} = true but you want /local/tmp
therefore the use of the value attribute
should work
maybe you don't have the appropriate rights on /local/tmp ?
Or the other task is called earlier and the
out.dir property once set to /tmp/${user.name} is immutable
Regards,
-Original Message-
From: Mikael Petterson [mailto:mikael.petter...@ericsson.com]
Sent: Friday, September 11, 2009 1:22 PM
To: user@ant.apache.org
Subject: Set value if directory exists
/*
Hi,
How can I set the value of out.dir to /local/tmp/ if it exists.
Currently the second option w