ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecirame...@archivas.com
Subject Re: sshexec
Date Wed, 15 Jun 2005 22:59:15 GMT
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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message