Do it like this...
<sshexec host="xxxxxx"
username="xxxx"
password="xxxx"
command="cd /ass/home/asdad/ ; command1"/>
-Rob Anderson
Do you really have a directory at the root level called "ass"? He said "ass". That's
funny :)
> -----Original Message-----
> From: Ahmet Sayar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 12:00 PM
> To: Ant Users List
> Subject: sshexec
>
>
> Dear All,
>
> Can I give a parameter (for instance directory="/ass/home/asdas/") to
> sshexec to run specific command on a specific path at the
> remote host? Or is
> there any other alternative solution to this problem?
>
> <sshexec host="xxxxxx"
> username="xxxx"
> password="xxxx"
> command="command1"/>
>
> Thanks,
> Sayar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]