Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 85432 invoked from network); 30 Aug 2002 14:02:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 30 Aug 2002 14:02:42 -0000 Received: (qmail 21846 invoked by uid 97); 30 Aug 2002 14:02:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 21748 invoked by uid 97); 30 Aug 2002 14:02:34 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 21658 invoked by uid 98); 30 Aug 2002 14:02:34 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <5D753A0448365C448CE3D9097D767E8C03B1F8BA@ohindex01.bristolwest.com> From: Barry Lulas To: "Ant User List (E-mail)" Subject: Questions on optional ant tasks, FTP and TELNET Date: Fri, 30 Aug 2002 10:01:54 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2502D.CBBF7DB0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2502D.CBBF7DB0 Content-Type: text/plain; charset="iso-8859-1" I am trying to use some of the ant tasks in netcomponents.jar, specifically, the telnet and ftp tasks. I have a couple of questions: FTP --------------------- I have some .jar files in a temporary directory that I wish to FTP to a Unix server. However, I need to append a version string at the end of the filename before the .jar extension when I ftp them up to the server. The nested mapper task is not supported by the ftp task, so I can't use that. Anyone have any ideas? TELNET -------------------- First of all, when I run a simple task, I get an exception: cd /export/home/mylogin/lib stopservers ln -s target1 src1 ln -s target2 src2 startservers stopservers and startservers are scripts. Basically, I am creating symbolic links to the files I just ftp'd over. When I run this task, I get the following exception: Build exception: C:\Projects\MyProject\scripts\build.xml:234: java.lang.NoSuchMethodError Line 234 is the line that contains the ftp task in the build.xml file. Any ideas? ------_=_NextPart_001_01C2502D.CBBF7DB0--