Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 56764 invoked from network); 11 Mar 2003 21:51:24 -0000 Received: from unknown (HELO ignitemedia.com) (64.157.167.108) by daedalus.apache.org with SMTP; 11 Mar 2003 21:51:24 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: FTP ant task (revised) Date: Tue, 11 Mar 2003 15:52:05 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FTP ant task (revised) Thread-Index: AcLoF/FO16AqQi3BTQOOO08DmI3S2AAAElCg From: "Steve Cohen" To: "Ant Users List" , X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Are you possibly building from latest sources? Note that in 1.6 this requires commons-net.jar in place of NetComponents.jar. NetComponents has moved from oro to jakarta and become commons-net. -----Original Message----- From: j2ee@flashmail.com [mailto:j2ee@flashmail.com]=20 Sent: Tuesday, March 11, 2003 3:53 PM To: user@ant.apache.org Subject: FTP ant task (revised) I can not get the FTP optional task to work. I have the taskdev setup properly. I have all required jars in my classpath (ant, optional.jar and the 3rd party jars downloaded and in my lib directory. The error message from ant is: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found. I have unjar'd the optional.jar and it does indeed have FTP.class located at: =09 ${devlib.dir}/org/apache/tools/ant/taskdefs/optional/net/FTP.class I have checked the spelling more than once. --- I have many other custom taskdef's setup so I know things are configured properly. What is up with FTP? The archive seems to have a lot of postings but because of all the noise there can not seem to find exactly what I am looking for even after a keyword search. =09 --- Here is my taskdef defined in build.xml: Here is the custom_anttasks.properties file (checkstyle, pmd and jalopy work so I know my taskdef and .properties file is setup properly) checkstyle=3Dcom.puppycrawl.tools.checkstyle.CheckStyleTask pmd=3Dnet.sourceforge.pmd.ant.PMDTask ftp=3Dorg.apache.tools.ant.taskdefs.optional.net.FTP --- Here is the ftp task --- Here is my dev classpath setup other ant targets that depend on jars here is working so I know devclasspath is setup properly. --- Here is a listing of files in devlib $ ls -lt total 5885 -r--r--r-- 1 mkgroup 27635 Mar 11 11:11 sax-2.0.1.jar -r--r--r-- 1 mkgroup 350525 Mar 11 11:11 log4j-1.2.6.jar -r--r--r-- 1 mkgroup 65383 Mar 11 11:11 oro-2.0.6.jar -r--r--r-- 1 mkgroup 89584 Mar 11 11:11 jdom-1.0b8.jar -r--r--r-- 1 mkgroup 905948 Mar 11 11:11 jalopy-1.0b10.jar -r--r--r-- 1 mkgroup 12807 Mar 11 11:11 jalopy-ant-0.6.1.jar -r--r--r-- 1 mkgroup 27052 Mar 11 11:11 jaxp-1.2.jar -r--r--r-- 1 mkgroup 25898 Mar 11 11:11 aelfred-1.2.jar -r--r--r-- 1 mkgroup 885250 Mar 10 14:05 xercesImpl.jar -r--r--r-- 1 mkgroup 108484 Mar 10 14:05 xml-apis.jar -r--r--r-- 1 mkgroup 668804 Mar 10 14:04 ant-optional-1.5.2.jar -r--r--r-- 1 mkgroup 732490 Mar 10 14:04 ant-1.5.2.jar -r--r--r-- 1 mkgroup 92484 Mar 10 13:31 NetComponents.jar -r--r--r-- 1 mkgroup 10403 Mar 10 11:55 ant-contrib-0.2.jar -r-xr-xr-x 1 Administ mkgroup 711466 Mar 6 10:52 pmd-1.03.jar -r-xr-xr-x 1 Administ mkgroup 20357 Mar 6 10:52 commons-logging.jar -r-xr-xr-x 1 Administ mkgroup 29871 Mar 6 10:52 jakarta-regexp-1.2.jar -r-xr-xr-x 1 Administ mkgroup 30117 Mar 6 10:52 commons-cli.jar -r-xr-xr-x 1 Administ mkgroup 146737 Mar 6 10:52 commons-collections.jar -r-xr-xr-x 1 Administ mkgroup 681198 Mar 6 10:52 checkstyle-all-3.0.jar -r-xr-xr-x 1 Administ mkgroup 110531 Mar 6 10:52 commons-beanutils.jar -r-xr-xr-x 1 Administ mkgroup 281910 Mar 6 10:52 checkstyle-3.0.jar checkstyle, pmd, jalopy work so I know my dev classpath is setup properly. I know that my taskdef is setup properly. --- any help would be appreciated thanks am _______________________________________________________________ Get Your FREE FlashMail Address now at http://www.flashmail.com It's Free, Easy, & Fun !!! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org