On 2012-04-24, Dave Pawson wrote: > On 24 April 2012 16:00, Stefan Bodewig <bode...@apache.org> wrote: >> On 2012-04-24, Dave Pawson wrote:
>>> In bash it might be >>> #check/create fo directory for output, per font >>> if [[ ! -d ${here}/fo ]] >>> then >>> mkdir ${here}/fo >>> fi >> In ant that would be >> <mkdir dir="${here}/fo"/> >> If the directory already exists the task simply doesn't do anything. > How might I combine that with a property definition please... I didn't see you wanted to define a property, sorry. My recommendation then comes down to the same suggestion as Harrold's, use tempfile[1] to obtain a name and follow that by mkdir. Stefan [1] http://ant.apache.org/manual/Tasks/tempfile.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org