Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45561 invoked from network); 14 Jan 2004 22:31:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Jan 2004 22:31:19 -0000 Received: (qmail 1552 invoked by uid 500); 14 Jan 2004 22:30:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 1494 invoked by uid 500); 14 Jan 2004 22:30:57 -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 1481 invoked from network); 14 Jan 2004 22:30:57 -0000 Received: from unknown (HELO barrierb241.nike.com) (146.197.27.11) by daedalus.apache.org with SMTP; 14 Jan 2004 22:30:57 -0000 Received: from barrierb241.nike.com (root@localhost) by barrierb241.nike.com with ESMTP id i0EMV4v27351 for ; Wed, 14 Jan 2004 14:31:04 -0800 (PST) Received: from beavertn-svr-r9.nike.com (beavertn-svr-r9.nike.com [146.197.20.109]) by barrierb241.nike.com with ESMTP id i0EMV3V27318 for ; Wed, 14 Jan 2004 14:31:03 -0800 (PST) Received: from 146.197.1.183 by beavertn-svr-n9.nike.com with SMTP ( Tumbleweed MMS SMTP Relay (MMS v5.0)); Wed, 14 Jan 2004 14:30:59 -0800 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 Received: from beavertn-svr-a0.nike.com (beavertn-svr-a0.nike.com [146.197.251.36]) by cammail1.nike.com (8.11.7p1+Sun/8.11.6) with ESMTP id i0EMUx914442 for ; Wed, 14 Jan 2004 14:30:59 -0800 (PST) Received: from beavertn-svr-b4.nike.com ([146.197.251.242]) by beavertn-svr-a0.nike.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 14 Jan 2004 14:30:56 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: sshexec with NETBeans Date: Wed, 14 Jan 2004 14:30:56 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sshexec with NETBeans Thread-Index: AcPa62kaDQsa6vA6SJi2OqAoTJ2vrQAAodqA From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 14 Jan 2004 22:30:56.0710 (UTC) FILETIME=[13E12660:01C3DAEE] X-WSS-ID: 6C1B1CA9716136-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N See the manual. You will need to set trust=3D"true" or point it to a = known_hosts file that has the servers public key in it.=20 -Rob Anderson -----Original Message----- From: Andiputranto Sukojo [mailto:sukojo@ufl.edu] Sent: Wednesday, January 14, 2004 5:11 PM To: Ant Users List Subject: RE: sshexec with NETBeans Thanks, it works now just get Exception Reject Host Key. Andi -----Original Message----- From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson2@nike.com] Sent: Wednesday, January 14, 2004 1:49 PM To: Ant Users List Subject: RE: sshexec with NETBeans Download the source for Ant 1.6. Unzip it. On the command line CD into = the directory. Then go into main\src. Run the following: javac org\apache\tools\ant\util\TeeOutputStream.java jar cf ant-tee.jar org\apache\tools\ant\util\TeeOutputStream.class Then copy the file ant-tee.jar to %ANT_HOME%\lib For the error you are having with the selector task, see the manual. I = am not familiar with the usage of that task. I hope this helps, -Rob Anderson -----Original Message----- From: Andiputranto Sukojo [mailto:sukojo@ufl.edu] Sent: Wednesday, January 14, 2004 3:40 PM To: Ant Users List Subject: RE: sshexec with NETBeans Rob Anderson Thanks, I get the scp working now :) but i haven't get the class (for sshexec) org.apache.tools.ant.util.TeeOutputStream succesfully since i cannot run the ant build file from the source code = using NetBeans (already get used to use NetBeans) and get this error : build.xml [602] The data type doesn't support the "unless" attribute. If you don't mind, may i get that class file ? Thank you so much for the information,also Thanks to Stefan Andi -----Original Message----- From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson2@nike.com] Sent: Wednesday, January 14, 2004 11:12 AM To: Ant Users List Subject: RE: sshexec with NETBeans I have confirmed that it works. For the task: I simply copied the ant-jsch.jar and my jsch-0.1.12.jar from $ANT_1.6.0_HOME/lib to $ANT_1.5.4_HOME/lib. I then changed ANT_HOME=3D$ANT_1.6.0_HOME to ANT_HOME=3D$ANT_1.5.4_HOME and added the = following to my build.xml: For the task: In addition to the steps above for , and I also had to compile the org.apache.tools.ant.util.TeeOutputStream class from 1.6.0 and install = it in the 1.5.4 lib directory as a jar. I also added the following line to my build.xml: If we were to make a jar that users could install into 1.5.x for scp and sshexec, it would be the current ant-jsch.jar + the class org.apache.tools.ant.util.TeeOutputStream. The user would need to add taskdefs to their build.xml also. -Rob Anderson -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: Tuesday, January 13, 2004 11:07 PM To: user@ant.apache.org Subject: Re: sshexec with NETBeans On Tue, 13 Jan 2004, Rob Anderson wrote: > You should be able to compile them and use them with 1.5.x, since > they were developed with that version of Ant. Rob, can you confirm that this is true for the SSH task versions that ship with Ant 1.6.0? If so, we could distribute the tasks as a separate jar to make life easier for people who cannot upgrade Ant easily. Your initial code was written against Ant 1.5.x, but I'm not sure whether we've introduced Ant 1.6.x dependencies with later patches. Stefan --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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