Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 95985 invoked from network); 11 Mar 2004 19:45:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Mar 2004 19:45:34 -0000 Received: (qmail 75605 invoked by uid 500); 11 Mar 2004 19:45:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 75563 invoked by uid 500); 11 Mar 2004 19:45:15 -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 75542 invoked from network); 11 Mar 2004 19:45:15 -0000 Received: from unknown (HELO web21405.mail.yahoo.com) (216.136.232.75) by daedalus.apache.org with SMTP; 11 Mar 2004 19:45:15 -0000 Message-ID: <20040311194518.1237.qmail@web21405.mail.yahoo.com> Received: from [156.153.255.126] by web21405.mail.yahoo.com via HTTP; Thu, 11 Mar 2004 11:45:18 PST Date: Thu, 11 Mar 2004 11:45:18 -0800 (PST) From: Satyajit Paul Subject: RE: Problem in using ftp with ant 1.6.1 To: Ant Users List In-Reply-To: <42C9EFEA1737D511BA420008C78641510D3EDA75@ncwlmx01nege.wilm.ge.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-773908739-1079034318=:552" 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 --0-773908739-1079034318=:552 Content-Type: text/plain; charset=us-ascii Hi Luis, Thanks a ton. But, I have the suggested file too under ANT_HOME/lib, the name being ant-commons-net.jar and it contains the FTP.class and other associated ftp classes. And while executing, only ftp its failing, other tasks like javac, copying etc are completed fine.......its frustrating. Hope some one has faced the situation and can reply. Thanks, satya "Conelly, Luis (GNF, Contractor)" wrote: It seems you are missing commons-net.jar; from Ant Manual[1]: commons-net.jar | ftp, rexec and telnet tasks | http://jakarta.apache.org/commons/net/index.html Try it. Regards -Luis [1] http://ant.apache.org/manual/install.html#librarydependencies -----Original Message----- From: Satyajit Paul [mailto:satya_work@yahoo.com] Sent: Thursday, March 11, 2004 10:18 AM To: user@ant.apache.org Subject: Problem in using ftp with ant 1.6.1 Hi All, I am trying to make use of ...like userid="user_name" password="password" remotedir="/home/user_name/" port="21" binary="true"> But its saying 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........................ ........................................ So, I thought it might need optional.jar. And I downloaded the latest one jakarta-ant-1.4.1-optional.jar and copied it under ANT_HOME\lib But still no luck :(. I am using ant 1.6.1 and this one I did not build, just unzipped the downloaded zip file. All the environment variables like ANT_HOME, JAVA_HOME and their inclusion in PATH are proper. Do I need to copy some other version of optional.jar??? Saw some where that this optional.jar not any more a single jar rather it is split in multiple from ant 1.6.0 onwards. Or do I really need to copy the optional.jar as documentation says these already packed with the core ant????? I feel I am just missing some basic thing....and a BIG THANKS for any kind of help..... Reagrds, satya --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster. --0-773908739-1079034318=:552--