If it is ANT1.6+ rename the jsch-0.1.20.jar as ant-jsch.jar.

Anil

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 15, 2005 3:22 PM
To: Ant Users List
Subject: RE: sshexec

What version of Ant are you using? -Rob A

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 15, 2005 3:16 PM
> To: user@ant.apache.org
> Subject: sshexec
> 
> 
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to