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

how to define task sshexec

2008-02-11 Thread serdsch
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

Setting up Maverick sshtools for Ant

2008-02-01 Thread serdsch
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: I have put my j2ssh directory with all its jars and lib folder (just as I downloaded it from sourc

Ant & JBoss - How to check conditions?

2008-01-04 Thread serdsch
I want to write an Ant script that shuts down a JBoss server if it is running. I know how to access the JMX console via the calls on the Twiddle tool in Ant. I also know that there is a class in JBoss representing the server itself: jboss.system:service=Server that has a boolean flag called "Sta

RE: CVS checkout error=2

2008-01-04 Thread serdsch
mgainty wrote: > > you'll need . in the path e.g. > SET PATH=.;%PATH%Martin > Thank you very much for your answer, Martin, now I get it! Totally forgot about that Path property of windows. OK, now for anyone who might have the same problem and doesn't have a clue, just as I did, in a little

CVS checkout error=2

2008-01-04 Thread serdsch
Hello, I know this topic has been handled before, but I still can't find the solution. Whenever I want to checkout from my CVS via Ant I get a Windows error=2, which means that the system can't find the cvs.exe. But I have winCVS installed on my local machine. Also I have a copy of cvs.exe in the