ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Ant 1.2 optional tasks problem, very basic
Date Wed, 09 May 2001 12:03:51 GMT
At 12:53  9/5/01 +0100, jaideep satghare wrote:
>Hi,
>
>I have a very basic question when it comes to using
>the optional tasks.
>I am using Ant 1.2 and according to the documentation
>I have copied the optional.jar to the
>$ANT_HOME/lib directory. But this does not make the
>optional task (ftp, in my case) available to me in my
>build file.
>The build file on being run gives me an error which
>says :
>
>
>  Could not create task of type: ftp because I can't
>find it in the list of task class definitions.  Co
>mmon solutions are: 1 execute bin/bootstrap. 2 use
>taskdef to declare your task. 3  add the task to
>defaults.properties.
>
>
>Is there anything that I need to do besides copying
>the optional.jar file to $ANT_HOME/lib directory?

The ftp-task uses the NetComponents-Package which you will need to download
from http://www.savarese.org and add to your classpath.

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               |
*-----------------------------------------------------*


Mime
View raw message