Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73835 invoked from network); 23 Nov 2004 16:52:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 16:52:40 -0000 Received: (qmail 10363 invoked by uid 500); 23 Nov 2004 16:52:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10317 invoked by uid 500); 23 Nov 2004 16:52:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10300 invoked by uid 99); 23 Nov 2004 16:52:30 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [32.97.182.111] (HELO over.ny.us.ibm.com) (32.97.182.111) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 08:52:29 -0800 Received: from e31.co.us.ibm.com (e31.esmtp.ibm.com [9.14.4.129]) by pokfb.esmtp.ibm.com (8.12.10/8.12.9) with ESMTP id iANGMYtE096454 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Tue, 23 Nov 2004 11:22:34 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id iANGMOjd424752 for ; Tue, 23 Nov 2004 11:22:24 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iANGMNiU070366 for ; Tue, 23 Nov 2004 09:22:23 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id iANGMNqP032094 for ; Tue, 23 Nov 2004 09:22:23 -0700 Received: from d03nm128.boulder.ibm.com (d03nm128.boulder.ibm.com [9.17.195.154]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id iANGMNwk032083 for ; Tue, 23 Nov 2004 09:22:23 -0700 In-Reply-To: <004701c4d174$71cb0ac0$0d02a8c0@athlon> To: "Ant Users List" MIME-Version: 1.0 Subject: Re: issue getting file using scp call within ant X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Dan Symula Date: Tue, 23 Nov 2004 08:22:21 -0800 X-MIMETrack: Serialize by Router on D03NM128/03/M/IBM(Release 6.51HF338 | June 21, 2004) at 11/23/2004 09:22:23, Serialize complete at 11/23/2004 09:22:23 Content-Type: multipart/alternative; boundary="=_alternative 00594D6D88256F55_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 00594D6D88256F55_= Content-Type: text/plain; charset="US-ASCII" Ive done a search for the file using find command and it does not show up. This is UNIX by the way. So no I have not made a mistake in the code and lost the file. Ive also hardcoded variables and tried the script in this way. The file still does not show up. If I am missing jars, it would seem that I wouldnt be able to get any files. If I am using an incompatible ant version, I again would thinkg scp wouldnt work at all... Still searching... "Rhino" 11/23/2004 07:52 AM Please respond to "Ant Users List" To "Ant Users List" cc Subject Re: issue getting file using scp call within ant ----- Original Message ----- From: "Dan Symula" To: Sent: Tuesday, November 23, 2004 10:33 AM Subject: issue getting file using scp call within ant > Ive built a fairly simple ant script to go to several different machines > and get some files. The script runs correctly, and gives no error > messages. However, for two of the machines it goes to, the files are not > received, the other two it does receive files. The output says the file is > being recieved, but it does not show up. The script uses the scp command. > I can manually get the file using the sftp command, so it seems > communication is working bewtween machines. It also seems that there is no > syntax type error, since the file builds, and works for half the machines. > Im stumped to explain what is happening.. Any suggestions would be > appreciated. > Since you haven't provided any code and say that you aren't getting any error messages and you do successfully get files from two of the machines, I can only guess that you have made a mistake in your code and are actually receiving the files from all 4 machines but, in the case of two of the machines, you aren't writing them to where you intended to write them on your local machine. Perhaps the variable describing the target directory does not have the value you think it does and the files are actually getting written to a different directory. If that doesn't turn out to be the problem, perhaps you need to check that you are using a current version of Ant and of the jsch jar. See the Library Dependencies section of the manual for the details of what jars you need and where to get them. Rhino --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --=_alternative 00594D6D88256F55_=--