Hi everyone,

I try to set up Maverick j2ssh for Ant to remotely import DBs from a server
(sshexec allows only one command per session and therefore is useless for
me). My taskdef looks like this:

<taskdef name="ssh" classname="com.sshtools.ant.Ssh" 
classpath="${test_home}/binaries/apache-ant-1.7.0/lib/j2ssh" />

I have put my j2ssh directory with all its jars and lib folder (just as I
downloaded it from sourceforge)  in Ant's lib directory. When I try to
execute my build file, I get the following error:

taskdef A class needed by class com.sshtools.ant.Ssh cannot be found:
com/sshtools/j2ssh/session/PseudoTerminal

I have no idea what class Ant is looking for here and I couldn't find
anything via google.
Has anyone got an idea!? Or does somebody know another ssh task for Ant that
allows multiple commands?

Thx for any hints,

Sergio
-- 
View this message in context: 
http://www.nabble.com/Setting-up-Maverick-sshtools-for-Ant-tp15226543p15226543.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to