ools/hudson.tasks.Ant_AntInstallation/ANT-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml
>> with URI =
>> jar:file:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml
>> from a zip file
>> > [echo
tlib.xml
> with URI =
> jar:file:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> from a zip file
> > [echo] Creating a file in /my/path on myServer.myDomain to be sure
> there's something to delete
b/ant.jar!/org/apache/tools/ant/antlib.xml
> with URI =
> jar:file:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> from a zip file
> > [echo] Creating a file in /my/path on myServer.myDomain to be sure
>
ant.jar!/org/apache/tools/ant/antlib.xml
> with URI =
> jar:file:/var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> from a zip file
> [echo] Creating a file in /my/path on myServer.myDomain to be sure
> there's s
n myServer.myDomain to be sure
there's something to delete
[sshexec] Connecting to myServer.myDomain:22
[sshexec] Connecting to myServer.myDomain port 22
[sshexec] Connection established
[sshexec] Remote version string: SSH-2.0-OpenSSH_8.0
[sshexec] Local version string: SSH-2.0-J
trust="true"
> > timeout="300"
> > verbose="true"
> > port="22"
> > />
> >
> > We've found a bug with this command in RHEL 8 and the RedHa
t; > timeout="300"
> > verbose="true"
> > port="22"
> > />
> >
> > We've found a bug with this command in RHEL 8 and the RedHat folks won't
> > consider the sshexec command as a repro. I've tried the best I can
> figure
> > and the command works from the command line however I've tried. Thanks!
> > Eric
> >
>
On 2022-12-28, Eric Fetzer wrote:
> Hi! Can anyone tell me what the command line equivalent to the following
> directive in ant is?
I'm afraid this is not easy to answer as Ant does not use the command
line for this. Ant uses http://www.jcraft.com/jsch/ in order to execute
the command and it is
yFiles/test.txt"
> trust="true"
> timeout="300"
> verbose="true"
> port="22"
> />
>
> We've found a bug with this command in RHEL 8 and the RedHat folks won't
>
Hi! Can anyone tell me what the command line equivalent to the following
directive in ant is?
We've found a bug with this command in RHEL 8 and the RedHat folks won't
consider the sshexec command as a repro. I've tried the best I can figure
and the command works from t
Nachricht-
Von: Zahid Rahman
Gesendet: Dienstag, 12. Januar 2021 14:15
An: user@ant.apache.org
Betreff: AW: sshexec defaults to port 22
As you can see from output console. I have made some progress by updating the
remote raspberry pi operating system.
I am not sure what parameter is required
uot;Starting
192.168.0.22:~/raspirecipe/org.raspirecipes.helloworld-0.0.1-SNAPSHOT.jar
in debug mode"
[sshexec] Connecting to 192.168.0.22:22
[sshexec] Connecting to 192.168.0.22 port 22
[sshexec] Connection established
[sshexec] Remote version string: SSH-2.0-OpenSSH_7.9p1 Raspbia
04:27
An: user@ant.apache.org
Betreff: sshexec defaults to port 22
Hi,
I am trying to setup Eclipse Remote development on raspberry pi for Java as per
this page . http://www.raspirecipes.org/archives/218
Unfortunately something has changed since he did . I have managed to correct
one of the errors
Hi,
I am trying to setup Eclipse Remote development on raspberry pi for Java
as per this page . http://www.raspirecipes.org/archives/218
Unfortunately something has changed since he did . I have managed to
correct one of the errors.
I suspect this second error is due to the sshexec command in
Hi,
I am trying to setup Eclipse Remote development on raspberry pi for Java
as per this page . http://www.raspirecipes.org/archives/218
Unfortunately something has changed since he did . I have managed to
correct one of the errors.
I suspect this second error is due the sshexec command in the
out that I didn't have a default
> identity file set in my ssh config.
>
> After rectifying that issue, I thought things were fixed, but actually,
> they are still broken!
>
> [sshexec] Loading SSH configuration file /Users/dougal/.ssh/config
> [sshexec] Us
I thought things were fixed, but
> actually, they are still broken!
>
> [sshexec] Loading SSH configuration file /Users/dougal/.ssh/config
> [sshexec] Using SSH key file ~/.ssh/id_rsa for host null
> [sshexec] Caught exception: host must not be null.
>
> So I looked at t
OK, after digging a little bit, it turns out that I didn't have a default
identity file set in my ssh config.
After rectifying that issue, I thought things were fixed, but actually,
they are still broken!
[sshexec] Loading SSH configuration file /Users/dougal/.ssh/config
[sshexec] Usin
You are, of course, correct! Thank you.
OK, running with debug I see:
[sshexec] Loading SSH configuration file /Users/dougal/.ssh/config
[sshexec] Using SSH key file null for host null
So maybe it isn't picking up my host/default ssh key properly. ie: maybe
I've configured my host
Hello Dougal,
On 17/06/20 10:07 am, Dougal Graham wrote:
> Hi Jaikaran,
>
> Thanks for getting back to me. I just got the code downloaded for Ant,
> and I think I see the problem:
>
> protected void loadSshConfig() throws BuildException {
> if (sshConfig != null && (userInfo.getName() == null
t;
> > I just upgraded Ant to 1.10.8 so that I can use the new sshConfig feature
> > of sshexec, so I don't need to hardcode the location of the user's
> keyfile
> > in my script. I am now using it like so:
> >
> > > trust="true"
> &
Hello Dougal,
Can you get us the ant debug logs (using the -debug switch) when you run
this target?
-Jaikiran
On 17/06/20 9:33 am, Dougal Graham wrote:
> Hi Everyone,
>
> I just upgraded Ant to 1.10.8 so that I can use the new sshConfig feature
> of sshexec, so I don't nee
Hi Everyone,
I just upgraded Ant to 1.10.8 so that I can use the new sshConfig feature
of sshexec, so I don't need to hardcode the location of the user's keyfile
in my script. I am now using it like so:
However, I still receive warnings about a missing keyfile or password.
Isn'
On 2019-10-17, Arnold, Thomas L. (LARC-D321)[LITES II] wrote:
> On 2019-10-17, Stefan Bodewig wrote:
>> Should be fixed with
>> https://github.com/apache/ant/commit/8511719cf38cfe9be3c000e89d448f7f13f49cba#diff-bb49f6b85622e35296971c8d0f10284a
>> - will be fixed in 1.10.8.
> Confirmed. I grab
On 2019-10-17, Stefan Bodewig wrote:
> Should be fixed with
> https://github.com/apache/ant/commit/8511719cf38cfe9be3c000e89d448f7f13f49cba#diff-bb49f6b85622e35296971c8d0f10284a
> - will be fixed in 1.10.8.
Confirmed. I grabbed the updated SSHexec.java, stuck it into 1.10.7 and
rebuilt and it
On 2019-10-17, Stefan Bodewig wrote:
> On 2019-10-17, Arnold, Thomas L. (LARC-D321)[LITES II] wrote:
>> I'm having an issue with 1.10.7. This behavior doesn't exist in 1.10.6.
>> > keyfile="${user.home}/.ssh/id_rsa"
>> output="/home/user/anthell/CheckHost-Server1.txt"
On 2019-10-17, Arnold, Thomas L. (LARC-D321)[LITES II] wrote:
> I'm having an issue with 1.10.7. This behavior doesn't exist in 1.10.6.
> keyfile="${user.home}/.ssh/id_rsa"
> output="/home/user/anthell/CheckHost-Server1.txt"
> failonerror="true" append="true" verbose="
I'm having an issue with 1.10.7. This behavior doesn't exist in 1.10.6.
Sample build.xml :
simple example build file
Running this should leave me with a file CheckHost-Server1.txt containing "OK",
instead it fails creating the file:
BUILD FAILED
/home/us
> We use ant internally in our build systems and heavily use sshexec/scp
> and ssh tasks. These rely on jsch which is an external library. Now
> that there is Apache Mina is there a way to move away from jsch to
> apache mina? Jsch project is not very active, so we were lo
Hello,
We use ant internally in our build systems and heavily use sshexec/scp and ssh
tasks. These rely on jsch which is an external library. Now that there is
Apache Mina is there a way to move away from jsch to apache mina? Jsch project
is not very active, so we were looking for an
of the trace, the error
> is being reported bak to the sshexec process, so it's happening on the remote
> side. Your sshexec setup is invoking a bash script as a login with use ant.
> Because it's a login script, it will, I think, try to execute any .profile,
> .ba
Someone who knows the codebase better than I do may choose to comment, but I
can't imagine why a Java program with full access to the Javi API facilities
would try to run a javascript script. From the look of the trace, the error is
being reported bak to the sshexec process, so it's
:/tmp/foo
if the connection is refused for that user/password combination then you'll know
username/password is incorrect
then use the same username/password in sshexec
?
M-
> CC: user@ant.apache.org
> From: elstonk...@yahoo.com.INVALID
> Subject: Re: sshexec
> Date: Thu, 12
Yes Peter, the one line left is in the calling ant script. When it returns
from the sshexec, always returning with success, sometimes sshexec must be
misinterpreting as failure. I'm not sure where that JavaScript is coming from,
I assumed that was a part of the sshexec task itself.
27;t get executed because of a failure
in the _remote_ task, i.e. the sshexec. So is it the case that the remote task
fails _sometimes_, giving the error trace you sent, and otherwise succeeds,
giving the trace you have just posted?
Also, where is the javascript being executed? This is a javasc
Here it is with a successful finish Peter: [sshexec] [sshexec] main:
[sshexec] [sshexec] [sshexec] BUILD SUCCESSFUL [sshexec] Total time: 1
minute 9 seconds [copy] Copying 1 file to
c:\BuildDeployScripts\dist\Logs\2.16.3.5-20150211-0807\output That's it, no
stack trace. Onc
> I see sshexec finish with a successful status, then it gets back to the
> calling task and bombs out.
What is it that you actually see, when you "see sshexec finish with a
successful status?" Obviously it's no the return value.
Where's the javascript happening,
OK, seems to work one time, fail another, work one time, fail another...
Anyone even have a hint on how to trouble-shoot it? I already have sshexec set
to verbose and that just gives the stack trace. Makes no sense to me.
On Tuesday, February 10, 2015 2:36 PM, Eric Fetzer
wrote
I'm running Ant 1.7 and having an issue I don't understand. I see sshexec
finish with a successful status, then it gets back to the calling task and
bombs out. I upped the timeout value and that seemed to work once, but not
after that even though it's WAY over the value that
mcook144sw [mailto:mcook14...@yahoo.com]
>Sent: 13 February 2013 19:42
>To: user@ant.apache.org
>Subject: sshexec host login task auth fail multiplies
>
>I am using the following sshexec command to login to a linux server and
>verify the users access.
>
> use
I am using the following sshexec command to login to a linux server and
verify the users access.
Whenever a user types an incorrect password in our tool, it will fail with a
"com.jcraft.jsch.JSchException: Auth fail" error that will lock them out of
their linux account due t
sshexec can output to either a file (output="somefile.txt") or a
property (outputproperty="sshexec_output").
Specifying one of those two should turn off the output to standard out.
signature.asc
Description: OpenPGP digital signature
Hi,
I have a task sshexec in my ant buildfile. This task shows the output of
the command i wish to execute. My question is: how to not show the output?
here is my task:
|
This always shows the output of the command like:
[sshexec] Connecting to evoserver:22
[sshexec] cmd : find /home
It seems everytime I add an sshexec to execute a script, I lose my chmod
permission changes. I can do an ls -al before and after the chmod in the
same sshexec line and see the permissions change. I can also run a 2nd
sshexec with ls -al and see the permissions are still correct. When I
context:
http://ant.1045680.n5.nabble.com/Definitive-guide-to-sshexec-and-scp-ant-tasks-with-keyfile-tp2651541p2651541.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@ant
Hi,
The sshexec task display the result of the command execution on the
screen. We don't want to display this result on our screen since it's
confident information. I don't see an option to remove this standard
out from sshexec task. Maybe you know how to do it.
On ant ma
>>
>
>
> ---------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>
>
--
View this message in context:
http://old.nabble.
-Original Message-
From: Antoine Levy Lambert [mailto:anto...@gmx.de]
Sent: Tuesday, January 05, 2010 4:33 PM
To: Ant Users List
Subject: Re: sshexec on remote server
Hello Eran,
maybe your problem is that you need to execute explicitly in your
command the .profile or .bashrc or ... of the target
Hello Eran,
maybe your problem is that you need to execute explicitly in your
command the .profile or .bashrc or ... of the target user and host.
you might want to do something like
command=". .profile && cd ${env.scripts.folder.path} &&
./PingServer"
regards,
Antoine
eran123 wrote:
Hi,
:
--
View this message in context:
http://old.nabble.com/sshexec-on--remote-server-tp27004641p27004641.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
7; not really working once after the command is finished on the
>> remote host using Sshexec task.
>
> Can you find a Bugzilla issue raised for this? I can't remember seeing
> a fix for this and don't find anything in current trunk's WHATSNEW that
> looked relate
On 2009-10-15, SachinSr wrote:
> I saw from so many Ant user in the internet raising their issue with
> 'timeout' not really working once after the command is finished on the
> remote host using Sshexec task.
Can you find a Bugzilla issue raised for this? I can't rememb
Hi,
I saw from so many Ant user in the internet raising their issue with
'timeout' not really working once after the command is finished on the
remote host using Sshexec task. I'm also facing this same issue and it has
become damn critical for me to have this to be worked. So do
No one cares? Well if anyone decides to fix it, please let me know so that I
can take my workaround out...
From: Eric Fetzer
To: Ant Users List
Sent: Wednesday, August 5, 2009 1:54:08 PM
Subject: Re: sshexec
In order to fix this, I had to write a macrodef
In order to fix this, I had to write a macrodef that strips the last
character (no matter what it is being that you can't test for it):
I would consider the behavior of sshexec a bug. Anyone else...
From: Eric F
I tried:
But it doesn't seem to work on newline/cr stuff... This is nuts, is what I'm
trying to do really all that tough?
From: Eric Fetzer
To: Ant Users
Sent: Wednesday, August 5, 2009 11:10:36 AM
Subject: sshexec
So sshexec i
So sshexec is adding a carriage return to the outputproperty when run from
winders. Is there a way to strip this off of the end of a property in ant?
Here's a small repro:
test.sh:
echo "error" | tr '\n' '' | tr '\r' ''
exit 0
tes
I use plink via the exec task.
Easy to setup; reliable.
Works grand.
-Original Message-
From: Jan Lund [mailto:janne_l...@yahoo.com]
Sent: Wednesday, February 04, 2009 5:33 AM
To: user@ant.apache.org
Subject: Simple solutions to sshexec nohup Ant?
Hi all,
I've Googled
some for a solut
I use plink via the exec task.
Easy to setup; reliable.
Works grand.
-Original Message-
From: Jan Lund [mailto:janne_l...@yahoo.com]
Sent: Wednesday, February 04, 2009 5:33 AM
To: user@ant.apache.org
Subject: Simple solutions to sshexec nohup Ant?
Hi all,
I've Googled
some
Hi all,
I've Googled
some for a solution to run sshexec remote ssh commands via Ant inside Eclipse.
But I get some sort of error although it works when the command is ran locally.
The
solutions I've found on the net seems to involve some extra IO redirection and
environment variables.
Thanks everyone.> Date: Wed, 26 Nov 2008 11:16:00 -0800> From: [EMAIL
PROTECTED]> To: user@ant.apache.org> Subject: Re: SCP and SSHExec tasks> > The
scp task will not create remote directories. Also, there is no recursive>
option. Yes, you can specify a fileset, but th
Rez wrote:
>
> Is it possible to create the directories on the remote server on the fly as
> the scp ant task is executed or do I need to run sshexec to create them first?
At Apache Forrest our "forrestbot" can deploy using
the Ant scp task.
It does certainly successfull
. zip or tar.gz the files locally
2. scp the archive to the remote machine
3. sshexec to remote machine and unpack the archive
-Rob Anderson
On Wed, Nov 26, 2008 at 3:36 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Rez wrote:
>
>> Hi
>> Is it possible to create the d
Rez wrote:
Hi
Is it possible to create the directories on the remote server on the fly as the scp ant task is executed or do I need to run sshexec to create them first?
I use sshexec first, with a mkdir -p as the command. I also have a
couple of presetdef definitions to simplify making
Hi
Is it possible to create the directories on the remote server on the fly as the
scp ant task is executed or do I need to run sshexec to create them first?
Thanks
_
Windows Live Hotmail now works up to 70% faster.
http
On Sep 2, 2008, at 11:58 PM, Stefan Bodewig wrote:
On Tue, 2 Sep 2008, Robert Koberg <[EMAIL PROTECTED]> wrote:
Hi,
ant 1.7.1, jsch-0.1.33, commons-net-1.5.0-dev, Red Hat Enterprise
Linux Server release 5.2 (Tikanga)
I am trying to use ant on one server, which is using sshexec to
On Tue, 2 Sep 2008, Robert Koberg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> ant 1.7.1, jsch-0.1.33, commons-net-1.5.0-dev, Red Hat Enterprise
> Linux Server release 5.2 (Tikanga)
>
> I am trying to use ant on one server, which is using sshexec to
> invoke ant on a
Hi,
ant 1.7.1, jsch-0.1.33, commons-net-1.5.0-dev, Red Hat Enterprise
Linux Server release 5.2 (Tikanga)
I am trying to use ant on one server, which is using sshexec to invoke
ant on a remote server. I also tried creating a shell script that just
executes ant and using that as the
need SSHEXEC task to call ant from the Unix machine on the Windows
machine. This works so far, but there is a issue with logging.
If I execute with SSHEXEC then its kind of black hole concerning logging from
the viewpoint of CruiseControl. I cannot see what happens live because the
scripts are
ED]>
>
>> Not sure, but maybe this will help You:
>>
>>
>> http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html
>
Forgot to close the double quote at the end of arg line...
2008/7/25 Krzysieq <[EMAIL PROTECTED]>
> Not sure, but maybe this will help You:
>
>
> http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html
&g
Not sure, but maybe this will help You:
http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html
> Sent from the Ant - Users mailing list archive at Nabble.
meh.. I give up.
ssh'in into root by adding build's pub key to root's authorized_keys' file.
Systems might have some problems with it, but it works for now.
--
View this message in context:
http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-p
ll script:
> ./antRunAsync.sh ./run.sh
>
> In this way I never use the -t argument and nohup works properly from
> the run script. Maybe a similar setup would work for you?
>
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday
nc.sh ./run.sh
In this way I never use the -t argument and nohup works properly from
the run script. Maybe a similar setup would work for you?
-Original Message-
From: mindspin311 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:14 PM
To: user@ant.apache.org
Subject: RE: sshexec (ru
/marc.info/?l=ant-user&m=120128316829325&w=2
>
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2008 11:08 AM
> To: user@ant.apache.org
> Subject: RE: sshexec (running remote commands with sudo) forced
> psuedo-t
To: user@ant.apache.org
Subject: RE: sshexec (running remote commands with sudo) forced
psuedo-tty allocation
[exec] Pseudo-terminal will not be allocated because stdin is not a
terminal.
Doesn't work. Tried it to run a remote command without -t for something
like
'ls' and it works fine. It
ne.
ruel loehr wrote:
>
> why can't you just do an exec with the command ssh -t .?
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2008 10:37 AM
> To: user@ant.apache.org
> Subject: sshexec
why can't you just do an exec with the command ssh -t .?
-Original Message-
From: mindspin311 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 10:37 AM
To: user@ant.apache.org
Subject: sshexec (running remote commands with sudo) forced psuedo-tty
allocation
I'm
is without being prompted for a password, but there is no way
to use the -t option with sshexec. Anyone know a good fix on how to do this
in ant using sshexec or exec?
--
View this message in context:
http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-
Hi Kevin,
You're brilliant! I tried another mirror, this time in Berlin rather
than in San Jose, and this time the link took me to the jar and I
downloaded the file just fine.
It never occurred to me that sourceforge.net has mirrors; I never
noticed the mirror name amidst the rest of the clu
Hi,
> The manual says that I need any version of the jsch jar, version 0.1.28 or
> above. The JCraft page shows the current version is 0.1.39. Both a zip and a
> jar is available for download but, unfortunately, something is messed up
> with the link for the jar. When I try to download the jar, it
I am having trouble getting the jar file needed to support the
scp/sshexec tasks. I am running Ant 1.7.0 in Eclipse Europa.
The manual says that I need any version of the jsch jar, version 0.1.28
or above. The JCraft page shows the current version is 0.1.39. Both a
zip and a jar is available
Can you confirm the dir command is in the PATH of the Windows host when you
sshexec to it?
Try to change your command to command=PATH just to confirm what's in there
when you sshexec.
Hope it helps
--
View this message in context:
http://www.nabble.com/sshexec-ant-task-command-not-
Hura ! It worked. Thanks !
--
View this message in context:
http://www.nabble.com/sshexec-ant-task-command-not-found-tp16627332p16673657.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e
"dir E:\Share"/>
>
>
> When I run this target, the result out put :
>
> deployment:
> [sshexec] Connecting to tamnguyen0908:22
> [sshexec] dir: not found
> BUILD SUCCESSFUL
>
> My scenario:
>
> Run in : Linux Ubuntu
> SSh : open ssh
> Ant1
I have a target in build.xml like that:
When I run this target, the result out put :
deployment:
[sshexec] Connecting to tamnguyen0908:22
[sshexec] dir: not found
BUILD SUCCESSFUL
My scenario:
Run in : Linux Ubuntu
SSh : open ssh
Ant1,7; jsch-0.1.37.jar (for using sshexec and scp
I have a target in build.xml like that:
When I run this target, the result out put :
deployment:
[sshexec] Connecting to tamnguyen0908:22
[sshexec] dir: not found
BUILD SUCCESSFUL
My scenario:
Run in : Linux Ubuntu
SSh : open ssh
Ant1,7; jsch-0.1.37.jar (for using sshexec and scp
Z W wrote:
Hi
I have
But for unknown reason, sshexec hangs when executing Ant 1.7
sun_files:
[sshexec] Connecting to sun01:22
Why ?
Anything I could do to overcome the hanging ?
can you telnet to that port by hand?
telnet sun01 22
can you ssh to that machine by hand?
--
Steve
Hi
I have
But for unknown reason, sshexec hangs when executing Ant 1.7
sun_files:
[sshexec] Connecting to sun01:22
Why ?
Anything I could do to overcome the hanging ?
Thanks
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,
&
so I dont have a ant/lib folder. What I did now was to add
'-lib ${path-to-jsch-0.1.37.jar}' in the bat-file calling Ant, but it still
couldn't find the *.sshexec-class. This one is found in the ant-jsch.jar
that comes with your Ant distribution.
So for anyone facing the same pro
lib folder. What I did now was to add
'-lib ${path-to-jsch-0.1.37.jar}' in the bat-file calling Ant, but it still
couldn't find the *.sshexec-class. This one is found in the ant-jsch.jar
that comes with your Ant distribution.
So for anyone facing the same problem, what you need is
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
, 2008 10:38 PM, Peter Reilly <[EMAIL PROTECTED]> wrote:
> 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
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.ap
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
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
Z W wrote:
Hi
How do I embed a if-then statement inside sshexec knowing that the remote
shell is a csh ?
Hi.
why dont you tell us what it is you are trying to do, instead of asking
a problem at a time? It is good to see you making progress, but I do
wonder if you are on the right path
You have to use the CSH syntax. You're using Bourne Shell syntax:
if (expr) then
...
else if (expr2) then
...
else
...
endif
On Feb 10, 2008 8:50 AM, Z W <[EMAIL PROTECTED]> wrote:
> Hi
>
> How do I embed a if-then statement inside sshexec knowing that the remote
> sh
1 - 100 of 343 matches
Mail list logo