ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: The SCP task don't scp?! Help Please.
Date Tue, 11 Jul 2006 18:26:21 GMT
Not sure why it is not working for you. Please run:
ant -debug -f build2.xml -Dfull.build.number=712 buildnum  

... and send the output.

-Rob A

> -----Original Message-----
> From: Res Pons [mailto:pons32@hotmail.com] 
> Sent: Tuesday, July 11, 2006 11:06 AM
> To: user@ant.apache.org
> 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."
> 
> Here's a copy of my scp task:
> 
> <scp 
> file="${deploy.zip.dir}/build${full.build.number}/build${full.
> build.number}.zip" 
> todir="${sw.usr}:${sw.pw}@${ssh.host.sw}:${sw.home}" trust="yes" />
> 
> All the values for the properties are loaded from my 
> build.properties file.
> 
> I wonder if I have to roll back to an older version of jsch, 
> however, I 
> remember I had to update them because when I upgraded to Ant 
> 1.6.5 this task 
> stopped working regardless of the version of jsch.
> 
> 
> ----Original Message Follows----
> From: "Anderson, Rob (Global Trade)" <Rob.Anderson@nike.com>
> Reply-To: "Ant Users List" <user@ant.apache.org>
> To: "Ant Users List" <user@ant.apache.org>
> Subject: RE: The SCP task don't scp?!  Help Please.
> Date: Tue, 11 Jul 2006 10:39:27 -0700
> MIME-Version: 1.0
> Received: from mail.apache.org ([209.237.227.199]) by 
> bay0-mc12-f11.bay0.hotmail.com with Microsoft 
> SMTPSVC(6.0.3790.2444); Tue, 
> 11 Jul 2006 10:40:22 -0700
> Received: (qmail 10124 invoked by uid 500); 11 Jul 2006 17:39:56 -0000
> Received: (qmail 10113 invoked by uid 99); 11 Jul 2006 17:39:56 -0000
> Received: from asf.osuosl.org (HELO asf.osuosl.org) 
> (140.211.166.49)    by 
> apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 10:39:56 -0700
> Received: pass (asf.osuosl.org: local policy)
> Received: from [146.197.27.91] (HELO barriere241.nike.com) 
> (146.197.27.91)   
>   by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 
> 10:39:55 -0700
> X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
> Mailing-List: contact user-help@ant.apache.org; run by ezmlm
> Precedence: bulk
> List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
> List-Help: <mailto:user-help@ant.apache.org>
> List-Post: <mailto:user@ant.apache.org>
> List-Id: "Ant Users List" <user.ant.apache.org>
> Delivered-To: mailing list user@ant.apache.org
> X-ASF-Spam-Status: No, hits=0.6 
> required=10.0tests=MAILTO_TO_SPAM_ADDR,PLING_QUERY
> X-Spam-Check-By: apache.org
> X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621
> X-MimeOLE: Produced By Microsoft Exchange V6.5
> Content-class: urn:content-classes:message
> X-MS-Has-Attach:
> X-MS-TNEF-Correlator:
> Thread-Topic: The SCP task don't scp?!  Help Please.
> Thread-Index: AcalCmh0Z1/lmjIaRuqFIyL5XbymFQABlOFg
> X-OriginalArrivalTime: 11 Jul 2006 17:39:27.0952 (UTC) 
> FILETIME=[F5433500:01C6A510]
> X-WSS-ID: 68AD3DDA1UG416368-01-01
> X-Virus-Checked: Checked by ClamAV on apache.org
> Return-Path: user-return-57059-pons32=hotmail.com@ant.apache.org
> 
> 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:pons32@hotmail.com]
>  > Sent: Tuesday, July 11, 2006 9:52 AM
>  > To: user@ant.apache.org
>  > Subject: The SCP task don't scp?! Help Please.
>  >
>  > 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 successfully in a long time and
>  > I can't tell what is wrong?  This is the error I get:
>  >
>  > C:\scripts>ant -f build2.xml -Dfull.build.number=712 buildnum
>  > Buildfile: build2.xml
>  >
>  > buildnum:
>  >
>  >      [echo] Local build number is: 725
>  >
>  >       [scp] Connecting to server.ourdomain.net:22
>  >
>  > BUILD FAILED
>  > C:\scripts\build2.xml:57: com.jcraft.jsch.JSchException: 
> Auth cancel
>  >
>  > Total time: 3 seconds
>  >
>  > Help please! What am I doing wrong?
>  >
>  > _________________________________________________________________
>  > Don't just search. Find. Check out the new MSN Search!
>  > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>  >
>  >
>  > 
> ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>  > additional commands, e-mail: user-help@ant.apache.org
>  >
>  >
>  >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message