Re: how to define task sshexec

2008-02-12 Thread Charbel BITAR
Hi, You don't have to redefine the sshexec task. You only need to add ant-jsch.jar and jsch-0.1.37.jar in your Ant classpath (-lib ...) as Steve said. Cheers -- Charbel On Feb 12, 2008 10:57 AM, Steve Loughran <[EMAIL PROTECTED]> wrote: > serdsch wrote: > > Hi Peter, > > > >> No quite non-exis

Re: how to define task sshexec

2008-02-12 Thread Steve Loughran
serdsch wrote: Hi Peter, No quite non-existent: http://ant.apache.org/manual/OptionalTasks/sshexec.html Yeah, OK, there is this little bit of documentation from Ant which only tells you how to use the task from inside Ant. I wouldn't really expect more from Ant, but the documentation of jcraf

Re: how to define task sshexec

2008-02-12 Thread serdsch
Hi Peter, > No quite non-existent: > http://ant.apache.org/manual/OptionalTasks/sshexec.html Yeah, OK, there is this little bit of documentation from Ant which only tells you how to use the task from inside Ant. I wouldn't really expect more from Ant, but the documentation of jcraft is really no

Re: how to define task sshexec

2008-02-12 Thread Peter Reilly
see http://ant.apache.org/faq.html#delegating-classloader for some background. After a lot of code, and some backward compatible problems, this issue has been solved for the optional task in ant 1.7.0 - but not for other optional tasks. For ant 1.7.1, code has been added to allow the optional

Re: how to define task sshexec

2008-02-11 Thread Ramu Sethu
Is there any link which says what are the jars must be added to ant lib rather than adding as ant classpath element? Is it a issue with ant or java? Do we have any other workaround to avoid this sort of issues in custom task other than adding jars in lib folder, or as an lib arguument? On Feb 11,

Re: how to define task sshexec

2008-02-11 Thread Peter Reilly
On Feb 11, 2008 11:49 AM, serdsch <[EMAIL PROTECTED]> 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: http://ant.apache.org/manual/OptionalTasks/sshexec.htm

RE: how to define task sshexec

2008-02-11 Thread Barry Pape
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 t