Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 12842 invoked from network); 11 Mar 2003 22:13:47 -0000 Received: from unknown (HELO ignitemedia.com) (64.157.167.108) by daedalus.apache.org with SMTP; 11 Mar 2003 22:13:47 -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) still not working Date: Tue, 11 Mar 2003 16:14:28 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FTP ant task (revised) still not working Thread-Index: AcLoGyHb8OCNvDxlSmWkaxW3ApEx6QAACGhg From: "Steve Cohen" To: "Ant Users List" , X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If you're using 1.5.2 then you still must use NetComponents. commons-net doesn't come in until a 1.6 version is built. There aren't any new dependencies - YET - for 1.5.2. Of course that just gets us back to your previous situation. =20 Maybe you can send a dir listing of your distribution lib directory. -----Original Message----- From: j2ee@flashmail.com [mailto:j2ee@flashmail.com]=20 Sent: Tuesday, March 11, 2003 4:16 PM To: Steve Cohen; Ant Users List; j2ee@flashmail.com Cc: user@ant.apache.org Subject: RE: FTP ant task (revised) still not working I downloaded commons-net-1.0.0.jar and am still getting the same error (removed NetComponents.jar). =20 I am using ant 1.5.2 (what does 1.6 refer to?). I am=20 using the optional.jar provided in ant 1.5.2 which=20 has FTP.class. any other ideas? It would be nice if this page were updated (if there are new dependencies) http://ant.apache.org/manual/index.html This url is referenced in the FTP page as required dependencies. Also since FTP.class was in the correct folder shouldn't ant be complaining about some other class or dependency instead of FTP (if the problem is that it can not find something)? =20 thanks for your help am >Are you possibly building from latest sources? >Note that in 1.6 this requires commons-net.jar in place of=20 >NetComponents.jar. > >NetComponents has moved from oro to jakarta and become commons-net. > >-----Original Message----- >From: j2ee@flashmail.com [mailto:j2ee@flashmail.com] >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=20 >be found. > >I have unjar'd the optional.jar and it does indeed have FTP.class=20 >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=20 >have a lot of postings but because of all the noise there can not seem=20 >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 > > description=3D"Puts files (dist/*.jar) on dev server"> > > > userid=3D"${dev.login}" > password=3D"${dev.password}" > remotedir=3D"${dev.deploy.dir}" > separator=3D"/" > verbose=3D"yes"> > > > > > > > > >--- >Here is my dev classpath setup > > > > > > > >other ant targets that depend on jars here is working so I know=20 >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=20 >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=20 >Free, Easy, & Fun !!! > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > _______________________________________________________________ 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