Hi,

I have the following scenario.

I will check if I have the following directories:

/tmp/test
/local/test

I want to set  a property called "local" to

/tmp/test if directory exists.
If it does not exist I will check if /local/test exist.
If it does I will set "local" to /local/test.
If none of these directories exist I will set "local" to current
directory.

Any ideas how I can do this in ant 1.6.5

//mike

Mikael Petterson
Software Designer


Ericsson AB, Stockholm, Sweden
Visiting address: Torshamnsgatan 42, Kista
Phone: +46 70 2673044 
E-mail: mikael.petter...@ericsson.com 



Reply via email to