Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 43797 invoked from network); 6 Apr 2004 16:24:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Apr 2004 16:24:03 -0000 Received: (qmail 30449 invoked by uid 500); 6 Apr 2004 16:23:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 30356 invoked by uid 500); 6 Apr 2004 16:23:46 -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 30335 invoked from network); 6 Apr 2004 16:23:46 -0000 Received: from unknown (HELO ext-nj2gw-5.online-age.net) (64.14.56.41) by daedalus.apache.org with SMTP; 6 Apr 2004 16:23:46 -0000 Received: from int-nj2gw-6.online-age.net (int-nj2gw-6 [3.159.236.70]) by ext-nj2gw-5.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id i36GNmxX025632 for ; Tue, 6 Apr 2004 12:23:48 -0400 (EDT) Received: from ncwlmx01nege.wilm.ge.com (localhost [127.0.0.1]) by int-nj2gw-6.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id i36GNhDd024614 for ; Tue, 6 Apr 2004 12:23:45 -0400 (EDT) Received: by ncwlmx01nege.wilm.ge.com with Internet Mail Service (5.5.2653.19) id ; Tue, 6 Apr 2004 12:23:26 -0400 Message-ID: <42C9EFEA1737D511BA420008C78641510DB1E4C7@ncwlmx01nege.wilm.ge.com> From: "Conelly, Luis (GNF, Contractor)" To: Ant Users List Subject: RE: FTP problem in Ant 1.5.3 Date: Tue, 6 Apr 2004 12:23:25 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41BF3.7C54DEDA" 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 ------_=_NextPart_001_01C41BF3.7C54DEDA Content-Type: text/plain; charset="windows-1252" Not sure for iFTP, but for regular task, this message implies you have not the right jars. Since I do not integrate ant to any of my IDEs but executing from command line, I am not pretty sure if these advices can help you; anyway, here you are: For ant 1.5.x you require in your $ANT_HOME/lib - netcomponents.jar; you can download it from[0]; see [1, 2] for more info For ant 1.6+, you have to use - jakarta-oro-2.0.7.jar (download it from [3]) - commons-net.jar (download it from [4]) For ant 1.6+ be aware of following statement (from [5]) Use of the FTP task with Microsoft FTP servers To use the FTP task with Microsoft FTP servers, you need CVS HEAD of commons-net and jakarta-oro after 2004-02-01 or a release of commons-net after 1.1.0 and jakarta-oro after 2.0.8. Regards Luis [0] http://www.nebulais.com/osstandards/current/resources.html [1] http://marc.theaimsgroup.com/?l=ant-user&m=107394460209704&w=2 [2] http://marc.theaimsgroup.com/?l=ant-user&m=107157965104966&w=2 [3] http://jakarta.apache.org/oro/ [4] http://jakarta.apache.org/commons/net/index.html [5] http://ant.apache.org/manual/OptionalTasks/ftp.html -----Original Message----- From: Rhino [mailto:rhino1@sympatico.ca] Sent: Tuesday, April 06, 2004 11:10 AM To: ant-user Subject: FTP problem in Ant 1.5.3 I'm having a problem with FTP, or more precisely iftp. I hope someone can help. I am getting: BUILD FAILED: java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient when I run the following Ant task: I feel sure that this is a basic setup kind of question, probably something to do with placement of the iftp jar or something like that. I was just starting to get fluent with Ant a year ago but I haven't touched it since and have forgotten most of what I knew. I seem to recall trying the regular Ant FTP task and having problems with it, then being advised that the iftp task was better. It worked quite well at that point but seems to be broken now, probably something to do with the Eclipse upgrades I've done since then. For what it's worth, my eclipse\plugins directory contains an org.apache.ant_1.5.3 directory which in turn contains: about.html ant.jar dbunit.jar iftp-ant-1.1.2.jar optional.jar plugin.properties plugin.xml I'm using Eclipse 2.1.3. Can anyone tell me what I need to do to get my (i)ftp task working? Also, can anyone advise me on whether the regular FTP task works better than it did last year? I would be willing to upgrade to Ant 1.6 if that would help but I need to know what to do. Would I install an org.apache.ant_1.6 in the Eclipse plugins folder and then delete the 1.5.3 folder to avoid conflicts or is it okay to leave the 1.5.3 folder there? Sorry for the dumb question but I've never updated Ant before. Rhino --- rhino1 AT sympatico DOT ca "If you're getting something for nothing, you're not using your own credit card." ------_=_NextPart_001_01C41BF3.7C54DEDA--