ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <>
Subject Re: how to define task sshexec
Date Mon, 11 Feb 2008 17:08:56 GMT
On Feb 11, 2008 11:49 AM, serdsch <> wrote:
> 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. :-(
No quite 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 '') and the path to
> the jsch-0.1.37.jar where the class is in.
No, this will not work (at the moment).
You need to place the jsch-0.1.37.jar in the "right" place.
- in $ANT_HOME/lib
- in ~/.ant/lib
at the command line specify -lib path-to-directory-containing-jsch jar

> Well, that's just what I'm doing:
> <taskdef name=""sshexec"
>             classname=""
>             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:
> Sent from the Ant - Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message