type "echo $ANT_HOME/lib"

Make sure that's where you put that jsch jar.

> Hi,
>
> I saw some posts on sshexec and decided to try and use it.
> I put the jsch-0.1.20.jar in the ANT_HOME/lib directory, but can't get a
> build.xml file to carry out the task.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>  <sshexec host="203.xxx.xxx.xxx" username="joe" password="bloggs"
> command="cd
> /home/joe; ls -al"/>
> </project>
>
> I get:
> /home/joe/build.xml:11: Could not create task or type of type: sshexec.
>
> what am I doing wrong?
>
> Any help appreciated,
>
> kind regards,
> Luke
>
> --
> ............._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
>
> ---------------------------------------------------------------------
> 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]

Reply via email to