Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Condition check Question

Z W

2008-01-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi

Can folks here give examples on how to perform a condition check for this ?
I'm executing a sshexec and how do I use <condition> to work like
if-then-else, following <sshexec> to check if this is executed succesfully

<sshexec host="${a_hostname}"

username="${a_username}"

password="${a_password}"

command=" test -d ${a_dir} ||

mkdir -m 777 ${a_dir};

cd ${a_dir};"
trust="true"/>

<condition ?????? (how do I check) >




Thanks in advance
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.