You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by erdem kilic <er...@gmail.com> on 2004/11/11 12:27:02 UTC

sshexec problem

Hi,
I want to use sshexec optinal task of ant. i downloaded
jsch-0.1.18.jar and added the path.it doesnt find sshexec class. could
anyone help to me?

my maven goal is this :

<goal name="ssh-test">
  <taskdef name="sshexec"
classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
  <sshexec host="xxxxx" username="erdem" password="erdem" command="rm *.tar"/>
</goal>

but i get following error;

BUILD FAILED
File...... maven.xml
Element... taskdef
Line...... 71
Column.... 91
taskdef class org.apache.tools.ant.taskdefs.optional.ssh.SSHExec cannot be found
Total time: 2 seconds
Finished at: Thu Nov 11 13:16:35 EET 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


sshexec problem

Posted by erdem kilic <er...@gmail.com>.
 Hi,
 I want to use sshexec optinal task of ant. i downloaded
i moved ant-jsch.jar file is to $ANT_HOME/lib directory. but it doesnt
find sshexec class.
could anyone help to me?
 
 my maven goal is this :
 
 <goal name="ssh-test">
 <taskdef name="sshexec"
 classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
 <sshexec host="xxxxx" username="erdem" password="erdem" command="rm *.tar"/>
 </goal>
 
 but i get following error;
 
 BUILD FAILED
 File...... maven.xml
 Element... taskdef
 Line...... 71
 Column.... 91
 taskdef class org.apache.tools.ant.taskdefs.optional.ssh.SSHExec
cannot be found
 Total time: 2 seconds
 Finished at: Thu Nov 11 13:16:35 EET 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org