Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 19054 invoked by uid 500); 20 Mar 2001 23:24:53 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 18980 invoked from network); 20 Mar 2001 23:24:51 -0000 Message-Id: <3.0.6.32.20010321102544.00e97240@alphalink.com.au> X-Sender: gdonald@alphalink.com.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 21 Mar 2001 10:25:44 +1100 To: ant-user@jakarta.apache.org From: Peter Donald Subject: Re: Difficulty getting FTP to work Cc: "'ant'" In-Reply-To: <6A1BB598448ED31198DC0008C75B7153053ADFB5@pooh.monsanto.com > Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 02:41 20/3/01 -0600, DUBCHAK, JOHN [Non-Pharmacia/1000] wrote: >Hi, > >I've downloaded the NetComponent add-in for Ant in order to use the optional >FTP tag. I copied the NetComponents.jar file into the ANT_HOME\lib >directory on a Win95 machine and I have the following code in my build.xml: > > > > remotedir="/home/John" > userid="userid" > password="password"> > > > > > >But I get the following error when I run with "ant deploy" from the command >line: > >build.xml:36: Could not create task of type: ftp. Common solutions are to >use taskdef to declare your task, or, if this is an optional task, to put >the optional.jar in the lib directory of your ant installation (ANT_HOME). > >If anyone has any insight into what I am doing wrong I would greatly >appreciate it. Have you downloaded optional.jar and placed it in ANT_HOME/lib ? If so does it contain a FTP.class ? Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*