Maybe this will help you out: http://ant.apache.org/manual/OptionalTasks/sshexec.html
-----Original Message----- From: serdsch [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 10:49 AM To: user@ant.apache.org Subject: how to define task sshexec Hi @all! I want to use sshexec and I'm totally new to it. Unfortunately the documentation on how to use it is not just poor, it is non-existent. :-( Also, I haven't found anything useful anywhere on the web. So, please, someone help me. As far as I know, I have to tell Ant the name of the class (in this case it's 'org.apache.tools.ant.taskdefs.optional.ssh.SSHExec') and the path to the jsch-0.1.37.jar where the class is in. Well, that's just what I'm doing: <taskdef name=""sshexec" classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec" classpathref="${test.home.dir}/lib/jsch-0.1.37.jar"/> But checkstyle in eclipse during design time as well as Ant during run time complain they wouldn't be able to find the jar. I can assure you, it's there! Even when I don't use the variable ${test.home.dir} and code the path directly, it is still the same problem. What is missing!? I'm kinda frustrated here, because I can't find some decent documentation on this. If somebody with experience could please explain me, what files need to be where and how to access them correctly to use the sshexec task, I'd be blessed and delighted! Thx & Greets, Sergio -- View this message in context: http://www.nabble.com/how-to-define-task-sshexec-tp15414605p15414605.htm l Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- Confidentiality Notice! This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the intended recipient(s) identified above. This message may contain information that is privileged, confidential or otherwise protected from disclosure under applicable law. If the receiver of this information is not the intended recipient, or the employee, or agent responsible for delivering the information to the intended recipient, you are hereby notified that any use, reading, dissemination, distribution, copying or storage of this information is strictly prohibited. If you have received this information in error, please notify the sender by return email and delete the electronic transmission, including all attachments from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]