Re: Scp Task problem

2010-06-09 Thread Michael Ludwig
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

Re: SCP Task

2010-04-27 Thread David Weintraub
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

Re: SCP Task

2010-04-27 Thread Borut Hadžialić
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

Re: SCP Task

2010-04-27 Thread Greg Roodt
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

SCP Task

2010-04-27 Thread David Weintraub
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

Re: SCP task succeeds on client, but no file created on remote site

2009-09-03 Thread littlebluehou...@juno.com
>> >> >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

Re: SCP task succeeds on client, but no file created on remote site

2009-09-03 Thread Michael Ludwig
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

SCP task succeeds on client, but no file created on remote site

2009-09-03 Thread littlebluehou...@juno.com
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

Re: How to enable compression in SSH/SCP task?

2009-07-21 Thread Stefan Bodewig
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

Re: How to enable compression in SSH/SCP task?

2009-07-21 Thread Atsuhiko Yamanaka
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

Re: How to enable compression in SSH/SCP task?

2009-07-20 Thread Avlesh Singh
> > 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

How to enable compression in SSH/SCP task?

2009-07-20 Thread Damjan Perenic
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

Re: SCP Task - No response from server

2008-04-22 Thread glenn opdycke-hansen
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

Re: SCP Task - No response from server

2008-04-22 Thread Steve Loughran
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/ ---

SCP Task - No response from server

2008-04-22 Thread Sam Hamilton
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? --

Re: SCP task to preserve exact time stamp

2007-10-25 Thread Alexis Votta
> 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

Re: SCP task to preserve exact time stamp

2007-10-24 Thread Gilbert Rebhan
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

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
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

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Rebhan, Gilbert
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

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
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

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
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

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Rebhan, Gilbert
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

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Bizard Nicolas (KIRO 41)
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

SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
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

RE: Ant scp task with fileset

2007-10-23 Thread Rebhan, Gilbert
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? [...] >

Ant scp task with fileset

2007-10-22 Thread Bizard Nicolas (KIRO 41)
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

Re: Optional scp task does not accept remote paths with the '@' symbol in them

2007-10-16 Thread Liz Burke-Scovill
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]

Re: Optional scp task does not accept remote paths with the '@' symbol in them

2007-10-02 Thread Steve Loughran
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

RE: Optional scp task does not accept remote paths with the '@' symbol in them

2007-10-01 Thread Anderson, Rob (Global Trade)
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

RE: Optional scp task does not accept remote paths with the '@' symbol in them

2007-10-01 Thread TSD Contractor2
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

Re: Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-28 Thread Martin Gainty
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

AW: Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-28 Thread Jan.Materne
>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

RE: Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-28 Thread TSD Contractor2
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

RE: Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-27 Thread Anderson, Rob (Global Trade)
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

Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-27 Thread TSD Contractor2
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

Optional scp task does not accept remote paths with the '@' symbol in them

2007-09-27 Thread TSD Contractor2
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

Re: SCP Task & umask

2007-09-03 Thread Steve Loughran
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

Re: SCP Task & umask

2007-08-31 Thread Eric Jain
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

Re: SCP Task & umask

2007-08-30 Thread Atsuhiko Yamanaka
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

RE: SCP Task & umask

2007-08-30 Thread Anderson, Rob (Global Trade)
[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

SCP Task & umask

2007-08-30 Thread Eric Jain
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

Re: Probable bug found: scp task does not handle correctly directories containing subdirectories

2007-05-01 Thread Jean-Noël Rivasseau
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

Re: Probable bug found: scp task does not handle correctly directories containing subdirectories

2007-05-01 Thread Martin Gainty
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

scp task does not correctly handle directories

2007-04-30 Thread Jean-Noël Rivasseau
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

RE: scp task error: String index out of range

2006-11-16 Thread Lars Monsees
>> -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

RE: scp task error: String index out of range

2006-11-15 Thread Anderson, Rob (Global Trade)
> -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: > >

scp task error: String index out of range

2006-11-15 Thread Lars Monsees
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Anderson, Rob (Global Trade)
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Anderson, Rob (Global Trade)
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Anderson, Rob (Global Trade)
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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:

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Anderson, Rob (Global Trade)
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." > >

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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.

RE: The SCP task don't scp?! Help Please.

2006-07-11 Thread Anderson, Rob (Global Trade)
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

The SCP task don't scp?! Help Please.

2006-07-11 Thread Res Pons
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

Re: SCP Task Error

2006-04-18 Thread Atsuhiko Yamanaka
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

RE: SCP Task Error

2005-07-16 Thread S I
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

SCP Task Error

2005-07-15 Thread Rich Harris
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

"No response from server" w/ scp task

2004-12-02 Thread Brian Lalor
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

RE: scp-Task win2k > AIX

2004-11-10 Thread Anderson, Rob (Global Trade)
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

scp-Task win2k > AIX

2004-11-10 Thread Rebhan, Gilbert
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:

AW: scp task fails when no files match

2004-10-25 Thread Jan . Materne
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

RE: scp task fails when no files match

2004-10-25 Thread Anderson, Rob (Global Trade)
[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

scp task fails when no files match

2004-10-25 Thread Wojciech Biela
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

RE: flatten mapper for scp task?

2004-10-13 Thread Ivan Ivanov
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 >

RE: flatten mapper for scp task?

2004-10-13 Thread Anderson, Rob (Global Trade)
> 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

Re: flatten mapper for scp task?

2004-10-13 Thread Ivan Ivanov
> 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 :)).

Re: flatten mapper for scp task?

2004-10-13 Thread Holger Rauch
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

Re: flatten mapper for scp task?

2004-10-13 Thread Ivan Ivanov
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.

flatten mapper for scp task?

2004-10-13 Thread Holger Rauch
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

RE: scp task gives ArrayIndexOutOfBoundsException

2004-01-13 Thread Anderson, Rob (Global Trade)
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

RE: scp task gives ArrayIndexOutOfBoundsException

2004-01-13 Thread Kevin Stembridge
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

RE: scp task gives ArrayIndexOutOfBoundsException

2004-01-13 Thread Anderson, Rob (Global Trade)
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

RE: scp task error

2003-11-12 Thread Chappell, Simon P
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

Re: scp task -- need to be declared somehow in the build file?

2003-09-26 Thread Shawn
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

scp task -- need to be declared somehow in the build file?

2003-09-26 Thread Shawn
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