ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Ant 1.2 optional tasks problem, very basic
Date Wed, 09 May 2001 12:00:19 GMT
> 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?

Do you have the Net-Components package installed?
See the FTP documentation for where to get it etc.

Jon

Mime
View raw message