Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 63628 invoked by uid 500); 21 Aug 2001 16:02:23 -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 63618 invoked from network); 21 Aug 2001 16:02:22 -0000 Message-ID: From: Atherton Richard - Z9V To: "'ant-user@jakarta.apache.org'" Subject: FTP builder Date: Tue, 21 Aug 2001 18:02:27 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'm trying to use the ftp task, but I get the error 'Could not create task of type: ftp' whenever I try to run ant. I have the optional.jar in the lib directory: I don't understand what it's complaining about. Below is a snippet from the build file and the log file - (I'm just starting with the sample settings from the docs). Any ideas any one? Cheers, Richard ********* BUILDFILE ********* ********* LOG ********* Buildfile: buildall.xml Detected Java Version: 1.2 Detected OS: Windows NT parsing buildfile D:\Work\Phoenix\bin\buildall.xml with URI = file:D:/Work/Phoenix/bin/buildall.xml Project base dir set to: D:\Work\Phoenix Build sequence for target `ftpPhoenix' is [ftpPhoenix] Complete build sequence is [jarPhoenix, ftpPhoenix, clean, prepare, compile, copyWeblogicProperties, javadocs, buildBeans] ftpPhoenix: BUILD FAILED D:\Work\Phoenix\bin\buildall.xml:161: 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). Total time: 1 second