Andrzejewski Adam schrieb am 08.06.2010 um 08:50 (+0200):
> BUILD FAILED
> /hudson/hudson1.313/jobs/Hudson_config_backup/workspace/build.xml:6:
> com.jcraft.jsch.JSchException: Auth cancel
> file="${zip-src-file}" todir="${zip-src-scp-dest}" trust="true"
> verbose="true"/>
> The scp key auth is
Ah! There's no ant-jsch.jar in my $ANT_HOME/lib on my Mac (although it
is suppose to be at 1.7.1!). I do have it on my Linux box (Ant 1.7.1),
but we used Ant 1.7 on Windows, and there's no ant-jsch.jar there
either.
I'll download Ant 1.8 and make sure that works. We'll just tell
everyone they have
Hi, you need jsch.jar from this page http://www.jcraft.com/jsch/ . At
least that is what i use and it works.
On Tue, Apr 27, 2010 at 5:52 PM, David Weintraub wrote:
> Does the SCP task work? We use Ant 1.7 and recently tried the
> task. We included the jsch.jar, but we got the following
Is that Ant 1.7.1?
I've used it without problems. The task can be found in ant-jsch.jar.
On Tue, Apr 27, 2010 at 4:52 PM, David Weintraub wrote:
> Does the SCP task work? We use Ant 1.7 and recently tried the
> task. We included the jsch.jar, but we got the following error
Does the SCP task work? We use Ant 1.7 and recently tried the
task. We included the jsch.jar, but we got the following error:
BUILD FAILED
/Users/david/test/build.xml:5: Problem: failed to create task or type scp
Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found
>>
>>
>Read the doc for the task, especially what >property/@location
>evaluates to. Add these to check the values:
>>
>
>
Thanks. That revealed the problem: ${dest} was based on my local base
directory. I simply needed to change from using the location attribute to
using value. Then
littlebluehou...@juno.com schrieb:
I am just trying to copy one file from my local computer to my remote
server using an scp task. According to my local computer, my attempt
works: I get "BUILD SUCCESSFUL" and even the number of bytes per
second that the transfer took. However, the
Hi. I am a new ant user seeking to use ant to deploy my webapp to my remote
server. For starters, I am just trying to copy one file from my local computer
to my remote server using an scp task. According to my local computer, my
attempt works: I get "BUILD SUCCESSFUL" and even the
On 2009-07-21, Atsuhiko Yamanaka wrote:
> Hi,
> On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh wrote:
>>> I would like to know if it is possible to enable compression on SCP task?
>> Find details on filing bugs here - http://ant.apache.org/bugs.html
for reference:
<h
Hi,
On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh wrote:
>>
>> I would like to know if it is possible to enable compression on SCP task?
>> If it is, how?
>>
> AFAIK, the compression option is currently not supported in the scp task.
> Using the old school exec task
>
> I would like to know if it is possible to enable compression on SCP task?
> If it is, how?
>
AFAIK, the compression option is currently not supported in the scp task.
Using the old school exec task in this manner - , might be a quick workaround.
If this is currently not possibl
Hello,
I would like to know if it is possible to enable compression on SCP
task? If it is, how?
If this is currently not possible, where and how can I log an
enhancement request? On the ant website it says write on the mailing
list. Is this offical way to log enhancement request?
Kind regards
gt;
> >
> >
> > But when i run my ANT script, i have the error message:
> > 265: No response from server
> >
> > I can ping this IP address and previously I had been using WinSCP to
> connect
> > using the same IP address without any problems
ag in my SCP task?
Try
telnet IPAddress 22
to see if the server is reachable from the client.
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---
have the error message:
265: No response from server
I can ping this IP address and previously I had been using WinSCP to connect
using the same IP address without any problems.
I am using ANT 1.6 and jsch-0.1.37.jar.
Am I missing something obvious here like a missing flag in my SCP task?
--
> On 10/24/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > -Original Message-
> > From: venkata prasad [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 24, 2007 3:15 PM
> > To: Ant Users List
> > Sub
venkata prasad wrote:
Hi,
With your syntax, it is giving the below error.
/*
*/
/usr/bin/scp: can't execute binary file.
i am using bash shell.
hm, did you try in a shell ?
maybe you don't have the rights.
Regards, Gilbert
asad [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 3:15 PM
> To: Ant Users List
> Subject: Re: SCP task to preserve exact time stamp
>
> /*
> But i am missing time stamp for some of the files and folders.
>
> Is it possible to know what are the files added/modi
Hi,
-Original Message-
From: venkata prasad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 3:15 PM
To: Ant Users List
Subject: Re: SCP task to preserve exact time stamp
/*
But i am missing time stamp for some of the files and folders.
Is it possible to know what are the
rom: venkata prasad [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 2:13 PM
> To: user@ant.apache.org
> Subject: SCP task to preserve exact time stamp
>
>
> /*
> I have a requirement like when ever i do build, i need to copy all
> database files/folders fro
ailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 2:13 PM
> To: user@ant.apache.org
> Subject: SCP task to preserve exact time stamp
>
> Hi All,
>
> I have a requirement like when ever i do build, i need to copy all
> database files/folders from build machine to UN
Hi,
-Original Message-
From: venkata prasad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 2:13 PM
To: user@ant.apache.org
Subject: SCP task to preserve exact time stamp
/*
I have a requirement like when ever i do build, i need to copy all
database files/folders from
Hi
can you describe a bit more, show some code (the fileset part for
instance) ?
Cheers
-Original Message-
From: venkata prasad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 2:13 PM
To: user@ant.apache.org
Subject: SCP task to preserve exact time stamp
Hi All,
I have a
Hi All,
I have a requirement like when ever i do build, i need to copy all
database files/folders from build machine to UNIX machine.
Right now i am uasing SCP Ant task for secure copy. But it is not
preserving time stamp for all files and folder.
So i went for 'scp' unix command in exec -an
Hi,
-Original Message-
From: Bizard Nicolas (KIRO 41) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 8:48 AM
To: Ant Users List
Subject: Ant scp task with fileset
/*
> Hi all, i still couldn't find an answer to the following point, can
> you help?
[...]
>
trying to use the scp task (provided in an optional jar
> available here http://www.jcraft.com/jsch/index.html).
>
> Here is the script :
>
>
>remoteTodir="${username}:[EMAIL
IL PROTECTED]
> > Sent: Friday, September 28, 2007 5:20 AM
> > To: Ant Users List
> > Subject: RE: Optional scp task does not accept remote paths
> > with the '@' symbol in them
>
> --
Imagination is intelligence having fun...
[EMAIL PROTECTED]
Anderson, Rob (Global Trade) wrote:
Shame, shame, shame IBM. You should know better.
:)
-Rob A
-Original Message-
From: TSD Contractor2 [mailto:[EMAIL PROTECTED]
Sent: Friday, September 28, 2007 5:20 AM
To: Ant Users List
Subject: RE: Optional scp task does not accept remote paths
Shame, shame, shame IBM. You should know better.
:)
-Rob A
> -Original Message-
> From: TSD Contractor2 [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 28, 2007 5:20 AM
> To: Ant Users List
> Subject: RE: Optional scp task does not accept remote paths
> with the
07
To: Ant Users List
Subject: Re: Optional scp task does not accept remote paths with the '@'
symbol in them
You can use special characters if you specify equivalents in your
filename
assignment:
decimal :
@
hex:
0x40
HTH/
M--
Tell that to IBM!! (Who surely should no better!) I
You can use special characters if you specify equivalents in your filename
assignment:
decimal :
@
hex:
0x40
HTH/
M--
Tell that to IBM!! (Who surely should no better!) I'm using the scp task
to copy files from a remote IBM WebSphere MQ installation and have no
control over the remote
>Betreff: RE: Optional scp task does not accept remote paths
>with the '@' symbol in them
>
>
>Tell that to IBM!! (Who surely should no better!) I'm using
>the scp task
>to copy files from a remote IBM WebSphere MQ installation and have no
>control over the r
Tell that to IBM!! (Who surely should no better!) I'm using the scp task
to copy files from a remote IBM WebSphere MQ installation and have no
control over the remote path! As I said, it worked previously (in Ant
1.6.5) so I'm concerned that a bug has been introduced into Ant 1.7
w
ob Anderson
> -Original Message-
> From: TSD Contractor2 [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 27, 2007 3:43 AM
> To: user@ant.apache.org
> Subject: Optional scp task does not accept remote paths with
> the '@' symbol in them
>
> APOLOGIES F
APOLOGIES FOR THE DOUBLE POSTING (OUTLOOK SCREWED UP THE ORIGINAL)
Tried running the following command using Ant 1.7:
And get the following:
no remote path in
[EMAIL PROTECTED]:/var/mqm/qmgrs/LIGWGWAY1/@ipcc/AMQCLCHL.TAB
This used to work in Ant 1.6.5!!
It looks like some over-zealous checks
Tried running the following command using Ant 1.7:
mailto:[EMAIL PROTECTED]:/var/mqm/qmgrs/LIGWGWAY1/@ipcc/AMQCLCH
L.TAB> localTodir="client_conn_tables" password="blah" trust="yes"/>
And get the following:
no remote path in
[EMAIL PROTECTED]:/var/mqm/qmgrs/LIGWGWAY1/@ipcc/AMQCLCHL.TAB
This use
Atsuhiko Yamanaka wrote:
Hi,
2007/8/31, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]>:
The default umask is determined by the ssh server. I think it is set at
compile time. Same with $PATH. Your .bashrc is not read when you use
scp. You should see the same results when using scp on the comma
Atsuhiko Yamanaka wrote:
I have not tried it by myself yet, but it seems scp1 protocol allows
us to choose
the umask in sending files and creating directories.
In the class,
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage
the method 'sendFileToRemote' has explicitly chosen '0644'.
As
Hi,
2007/8/31, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]>:
> The default umask is determined by the ssh server. I think it is set at
> compile time. Same with $PATH. Your .bashrc is not read when you use
> scp. You should see the same results when using scp on the command line.
I have not t
[EMAIL PROTECTED]
> Sent: Thursday, August 30, 2007 8:45 AM
> To: user@ant.apache.org
> Subject: SCP Task & umask
>
> According to
> http://ant.apache.org/manual/OptionalTasks/scp.html, "File
> permissions are not retained when files are copied; they end
> up wit
According to http://ant.apache.org/manual/OptionalTasks/scp.html, "File
permissions are not retained when files are copied; they end up with the
default UMASK permissions instead". That would suite me just fine: I'm
copying files from a Windows machine to a Linux machine, where I have
`umask 00
iginal
message without making a copy. Thank you.
- Original Message -
From: "Jean-Noël Rivasseau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2007 9:52 AM
Subject: Probable bug found: scp task does not handle correctly
directories
containing sub
sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "Jean-Noël Rivasseau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2007 9:52 AM
Subject: Probable bug found: sc
Hi
I am using Ant 1.6.5 and Ant 1.7 on Gentoo Linux amd64, and the same
behavior appears.
When using the scp task, I cannot copy a directory that contains
subdirectories. When copying a directory that has no subdirectories, things
work fine, but any directory with subdirs in it will cause the
>> -Original Message-
>> From: Lars Monsees [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 15, 2006 7:18 AM
>> To: Ant Users List
>> Subject: scp task error: String index out of range
>>
>> Hello,
>>
>> I get this error
> -Original Message-
> From: Lars Monsees [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 15, 2006 7:18 AM
> To: Ant Users List
> Subject: scp task error: String index out of range
>
> Hello,
>
> I get this error when I start the task below:
>
>
Hello,
I get this error when I start the task below:
BUILD FAILED
C:\Projects\Java\HelpStudioANT\build.xml:100:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
I doesn´t matter if I specify keyfile
Ok, that was definitely it. I thank you for being patient with me and
walking me through this. I feel dumb now. Thanks again.
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users L
m: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 4:19 PM
> To: user@ant.apache.org
> Subject: RE: The SCP task don't scp?! Help Please.
>
> Also, I jut thought of this. I pass my password from the
> loaded property file, however, my password has an embe
TECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task don't scp?! Help Please.
Date: Tue, 11 Jul 2006 13:40:51 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by
bay0-mc12-f19.bay0.hotmail.com with Microsoft SMTPS
lp on this.
Thanks.
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task don't scp?! Help Please.
Date: Tue, 11 Jul 2006 15:50:34 -0700
MIME-Versi
gt; To: user@ant.apache.org
> Subject: RE: The SCP task don't scp?! Help Please.
>
> ssh2
>
> Original Message Follows
> From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
> Reply-To: "Ant Users List"
> To: "Ant Users List"
> S
ssh2
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task don't scp?! Help Please.
Date: Tue, 11 Jul 2006 13:40:51 -0700
MIME-Ve
What ssh server version are you using on the target host?
-Rob A
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 1:06 PM
> To: user@ant.apache.org
> Subject: RE: The SCP task don't scp?! Help Please.
>
> I eve
ts>
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task don't scp?! Help Please.
Date: Tue, 11 Jul 2006 11:26:21 -0700
MIME-Version:
object of type
org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `buildnum' is [buildnum]
Complete build sequence is [buildnum, usage, ]
buildnum:
Setting project property: build.number -> 729
[echo] Local build number is: 729
rg
> Subject: RE: The SCP task don't scp?! Help Please.
>
> Basically I use either jsch-0.1.25.jar or jsch-0.1.28.jar in
> my ant/lib but
> neither works. Ant's website mentions, "This task has been
> tested with
> jsch-0.1.2 to jsch-0.1.14."
>
>
Basically I use either jsch-0.1.25.jar or jsch-0.1.28.jar in my ant/lib but
neither works. Ant's website mentions, "This task has been tested with
jsch-0.1.2 to jsch-0.1.14."
Here's a copy of my scp task:
file="${deploy.zip.dir}/build${full.build.number}/build${full.
What are the contents of the jsch-0.1.28.zip file? Please send the
portion of your build.xml that shows your usage of the scp task.
-Rob Anderson
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 9:52 AM
> To: user@ant.apache.o
Hi all
I downloaded the latest version of jsch-0.1.28.zip from jcraft last night
for the scp task. Two questions:
1. Do I have to rename the jar file from jsch-0.1.28.zip to jsch.jar or
would ANT understand it with the version number embedded in it?
2. My SCP tasks have not run
Hi,
2005/7/16, Rich Harris <[EMAIL PROTECTED]>:
> Anyone get this when using the 'scp' task:
> com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException:
> Invalid argument or cannot assign requested address
> ERROR -
How about adding
-Djava.net.pr
Hi
It 's interesting you posted this, just about when I rcv'd the same error
and about to post the same thing about scp task:
BUILD FAILED
C:\AntHill\work\proj1\install\sshtest.xml:19: com.jcraft.jsch.JSchException:
Auth
cancel
Did you by any chance receive and accept an u
Anyone get this when using the 'scp' task:
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException:
Invalid argument or cannot assign requested address
ERROR -
I've already connected to the desired machine with the desired account manually
so the RSA stuff
Good morning, all. I'm trying to develop a deployment target for one
of my projects. It involves scp'ing some files to the target server
and then sshexec'ing a shell script. It's working fine with my
development system, but I get "No response from server" f
There is no dependency on putty or any other scp/ssh programs. The scp task
uses jsch, which is a java implementation of ssh2. You should set trust="true"
in your scp task.
If that does not fix it, I would look at the server. What version of SSH Server
are you running? The sshex
Hi,
Env = Win2k, j2sdk 1.4.2_05, Ant 1.6.2 and jsch 0.1.16 in Ant/lib
when trying to use the scptask with a litte test
...
...
I get the following error =
main:
[scp] Connecting to remotemachine:22
BUILD FAILED
Y:\Ant_Test\scptest.xml:7: com.jcraft.jsch.JSchException: Session.connect:
AntContrib provides a task ...
Jan
> -UrsprÃngliche Nachricht-
> Von: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 26. Oktober 2004 01:56
> An: Ant Users List
> Betreff: RE: scp task fails when no files match
>
> This funciona
[EMAIL PROTECTED]
> Sent: Monday, October 25, 2004 5:10 AM
> To: [EMAIL PROTECTED]
> Subject: scp task fails when no files match
>
>
> Hi,
>
> I hoped to find something on this in the mail archives, but I didn't.
> Strange, I was pretty sure I'm not the first to
Hi,
I hoped to find something on this in the mail archives, but I didn't.
Strange, I was pretty sure I'm not the first to run into this ... anyway:
I use scp to get files from a remote serwer to a local dir, the whole
script works fine until the remote dir is empty (i.e. the pattern
doesn't mat
Hello Robs,
>
> As far as I know, there are no plans to add this
> feature. The scp task is not really a variant of the
> copy task, although the do perform similar
> functions. The scp task was created to duplicate the
> features of command line scp. The feature you speak
>
> Are there plans
> to enhance the scp task in this way? (It would make sense since scp is
> basically a variant of the copy task, with the exception that scp is
> primarily determined for copying files to remote machines.)
As far as I know, there are no plans to add this feature. The
> a corresponding element could save a lot of
> typing. Are there plans
> to enhance the scp task in this way?
I do not know whether ant developers plan to do it.
You can ask them directly, or you can add a bug report
to ant bugzilla ant vote or write the patch yourself
and submit it :)).
indeed. Thanks a lot!
Nevertheless, I still think something like a flatten="true" attribute or
a corresponding element could save a lot of typing. Are there plans
to enhance the scp task in this way? (It would make sense since scp is
basically a variant of the copy task, with the exce
How about first copying the files to a temporary
directory and then scp'ing to the server and finally
deleting then from tmp:
HTH Ivan
--- Holger Rauch <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm using the scp task of Ant 1.6.
Hi!
I'm using the scp task of Ant 1.6.2 in order to copy some SQL scripts
which are stored in various directories on the source system to
a target system. On the target system, I want all .sql files to
appear below a single directory. How can I achieve this if scp
doesn't support neit
Looks correct. What version of sshd is the server running?
-Rob Anderson
-Original Message-
From: Kevin Stembridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 1:22 PM
To: 'Ant Users List'
Subject: RE: scp task gives ArrayIndexOutOfBoundsException
All of the properties are being set correctly.
-Original Message-
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 14 January 2004 08:07
To: Ant Users List
Subject: RE: scp task gives ArrayIndexOutOfBoundsException
What does your build.xml look like
What does your build.xml look like?
-Rob Anderson
-Original Message-
From: Kevin Stembridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 12:41 AM
To: [EMAIL PROTECTED]
Subject: scp task gives ArrayIndexOutOfBoundsException
Hi,
I get the following stack trace when using the
WSAD 4 comes with JDK 1.3, so I'll check and see if I have the jsse.jar. Thanks.
>-Original Message-
>From: Dale Anson [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 11, 2003 5:35 PM
>To: Ant Users List
>Subject: Re: scp task error
>
>
>Hi Simon,
>
&g
Well explicitely adding them all to my classpath worked from the command
line but still no go from my servlet.
If all those jars were in ANT_HOME/lib and I installed Ant with
PATH=$ANT_HOME/bin
then why were those classes found when the classpath to the jars wasn't set
explicitely.
ANYWAY (IE
Hello,
Do I need to add something to my build file to use optional tasks. The
docs don't seem to indicate that but...
I am using a servlet to launch a build file that uses the scp tast.
In TOMCAT_HOME/common/lib I have
ant.jar
optional.jar
ant-jsch.jar
jsch-20030830.jar
Those are also in my A
81 matches
Mail list logo