Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98845 invoked from network); 17 Feb 2004 15:25:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Feb 2004 15:25:53 -0000 Received: (qmail 87022 invoked by uid 500); 17 Feb 2004 15:25:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 86993 invoked by uid 500); 17 Feb 2004 15:25:38 -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 86975 invoked from network); 17 Feb 2004 15:25:37 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 17 Feb 2004 15:25:37 -0000 Received: from apache.org (localhost.localdomain [127.0.0.1]) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id i1HFPIN08330 for ; Tue, 17 Feb 2004 16:25:24 +0100 Message-ID: <403231D0.5000405@apache.org> Date: Tue, 17 Feb 2004 16:22:56 +0100 From: =?ISO-8859-1?Q?Antoine_L=E9vy-Lambert?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: FW: FTP Task Question References: In-Reply-To: X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Your jakarta-oro and commons-net jars should be OK. For ftping to a MS server you need a more recent commons-net. Now do you have the ant-jakarta-oro.jar from the ant distribution in your $ANT_HOME/lib directory ? it looks like this on my PC -rw-r--r-- 1 antoine Kein 48101 Feb 12 14:13 /cygdrive/c/ant/lib/ant-jakarta-oro.jar if you did your build of ant yourself, you need to have jakarta-oro and commons-net in the lib/optional directory before you start the build. Cheers, Antoine Tonte Pouncil wrote: >I am using jakarta-oro-2.0.8.jar and commons-net-1.1.0.jar. My ant is >running on Windows 2000. I am ftping to a unix box. I hope this makes >senses. What is CVS HEAD of commons-net. How do I get the latest releases >of the commons-net and jakarta-oro? The jakarta-oro-2.0.8.jar and >commons-net-1.1.0.jar was the only available ones on the Ant site. > >-----Original Message----- >From: RADEMAKERS Tanguy [mailto:tanguy.rademakers@swift.com] >Sent: Tuesday, February 17, 2004 3:20 AM >To: Ant Users List >Subject: Re: FW: FTP Task Question > > >Tonte, > > From the ant manual (v 1.6.1) : > > For the use of the FTP task together with MS 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 > >so are you using a MS FTP server? > >/t > >Tonte Pouncil wrote: > > > >>I am using commons-net-1.1.0.jar file. Is this the right one? >> >>-----Original Message----- >>From: Steve Cohen [mailto:scohen@javactivity.org] >>Sent: Monday, February 16, 2004 6:18 PM >>To: Ant Users List >>Subject: Re: FW: FTP Task Question >> >> >>Are you importing commons-net.jar? You must have this jar on your >>classpath. >>Note that NetComponents.jar (which commons-net replaces) will not work with >> >> > > > >>ant >= 1.6 >> >>On Monday 16 February 2004 4:19 pm, Tonte Pouncil wrote: >> >> >> >> >>>-----Original Message----- >>>From: Rodney Fobbs >>>Sent: Monday, February 16, 2004 9:43 AM >>>To: Tonte Pouncil; 'Sullivan.Sean@menlolog.com' >>>Subject: FW: FTP Task Question >>> >>> >>>Sean, >>> >>>1) Yes I had 1.5.4 and 1.6.0 on my system. I have deleted 1.5.4. >>> >>>2) My ANT_HOME is pointed to my 1.6.0 directory. >>> >>>3) This what I get after checking 1 and 2 and using -v: >>> >>>Apache Ant version 1.6.0 compiled on December 18 2003 >>>Buildfile: build.xml >>>Detected Java version: 1.4 in: P:\java\j2sdk1.4.2_03\jre >>>Detected OS: Windows NT >>>parsing buildfile P:\java_dev\appmon\build.xml with URI = >>>file:///P:/java_dev/ap >>>pmon/build.xml >>>Project base dir set to: P:\java_dev\appmon >>>Build sequence for target `ftpdeploy' is [common, ftpdeploy] >>>Complete build sequence is [common, ftpdeploy, ] >>> >>>common: >>> [echo] BuildName: AppMonitor >>> [echo] BuildHome: P:\java_dev\appmon >>> [echo] BuildFile: P:\java_dev\appmon\build.xml >>> [echo] BuildJVM: 1.4 >>> >>>ftpdeploy: >>> >>>BUILD FAILED >>>P:\java_dev\appmon\build.xml:21: Could not create task or type of type: >>>ftp. >>> >>>Ant could not find the task or a class this task relies upon. >>> >>>This is common and has a number of causes; the usual >>>solutions are to read the manual pages then download and >>>install needed JAR files, or fix the build file: >>>- You have misspelt 'ftp'. >>> Fix: check your spelling. >>>- The task needs an external JAR file to execute >>> and this is not found at the right place in the classpath. >>> Fix: check the documentation for dependencies. >>> Fix: declare the task. >>>- The task is an Ant optional task and optional.jar is absent >>> Fix: look for optional.jar in ANT_HOME/lib, download if needed >>>- The task was not built into optional.jar as dependent >>> libraries were not found at build time. >>> Fix: look in the JAR to verify, then rebuild with the needed >>> libraries, or download a release version from apache.org >>>- The build file was written for a later version of Ant >>> Fix: upgrade to at least the latest release version of Ant >>>- The task is not an Ant core or optional task >>> and needs to be declared using . >>> >>>Remember that for JAR files to be visible to Ant tasks implemented >>>in ANT_HOME/lib, the files must be in the same directory or on the >>>classpath >>> >>>Please neither file bug reports on this problem, nor email the >>>Ant mailing lists, until all of these causes have been explored, >>>as this is not an Ant bug. >>> at >>>org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownEleme >>>nt.java:514) >>> at >>>org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:42 >>>2) >>> at >>>org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav >>>a:189) >>> at org.apache.tools.ant.Task.perform(Task.java:400) >>> at org.apache.tools.ant.Target.execute(Target.java:338) >>> at org.apache.tools.ant.Target.performTasks(Target.java:365) >>> at org.apache.tools.ant.Project.executeTarget(Project.java:1237) >>> at org.apache.tools.ant.Project.executeTargets(Project.java:1094) >>> at org.apache.tools.ant.Main.runBuild(Main.java:669) >>> at org.apache.tools.ant.Main.startAnt(Main.java:220) >>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215) >>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) >>> >>>Total time: 2 seconds >>> >>>Thanks for your help thus far, >>> >>>Rodney >>> >>> >>> >>>-----Original Message----- >>>From: Sullivan, Sean C - MWT [mailto:Sullivan.Sean@menlolog.com] >>>Sent: Friday, February 13, 2004 6:15 PM >>>To: Ant Users List >>>Subject: RE: FTP Task Question >>> >>> >>> >>>1) Do you have multiple versions of Ant on your system? >>> >>>2) check your ANT_HOME environment variable >>> >>>3) try using Ant's "-v" (verbose) option >>> >>>-Sean >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Tonte Pouncil [mailto:tpouncil@vartec.net] >>>>Sent: Friday, February 13, 2004 3:57 PM >>>>To: 'Ant Users List' >>>>Subject: RE: FTP Task Question >>>> >>>>Yes, I have common-net.jar, jakarta-oro.jar, and and netcomponents.jar >>>>in my ANT_HOME/lib and I still get the standard error message. Is there >>>>anything special I need to do to enable ant to read the new jar files. >>>> >>>>-----Original Message----- >>>>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] >>>>Sent: Friday, February 13, 2004 10:28 AM >>>>To: user@ant.apache.org >>>>Subject: RE: FTP Task Question >>>> >>>> >>>>If you have a look in the manual ("Installing Ant | Library >>>>Dependencies") you�ll see a couple of needed libs. >>>> >>>>Do you have them installed? >>>> >>>> >>>>Jan >>>> >>>> >>>> >>>> >>>> >>>>>-----Original Message----- >>>>>From: Tonte Pouncil [mailto:tpouncil@vartec.net] >>>>>Sent: Friday, February 13, 2004 5:25 PM >>>>>To: Ant Users List (E-mail) >>>>>Cc: Rodney Fobbs >>>>>Subject: FTP Task Question >>>>> >>>>> >>>>>Greetings: >>>>> >>>>>How do I ftp in ant 1.6.0? The ftp task is not being recognised. Any >>>>>suggestion would help? >>>>> >>>>>Thanks! >>>>> >>>>>Tont� Pouncil >>>>>Network Systems Support >>>>>Programmer II >>>>>Phone: 972.478.3853 >>>>>Pager: 214.248.5438 >>>>> >>>>> >>>>> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org