ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <je...@cryptocard.com>
Subject Re: FTP ant task (revised)
Date Tue, 11 Mar 2003 21:52:19 GMT
On Tuesday, March 11, 2003, at 04:53  PM, j2ee@flashmail.com wrote:

> I can not get the FTP optional task to work.
> I have the taskdev setup properly.  I have
> all required jars in my classpath (ant, optional.jar
> and the 3rd party jars downloaded and in my lib directory.
>
> The error message from ant is:
>    taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot 
> be
> found.
>
> I have unjar'd the optional.jar and it does indeed have FTP.class 
> located
> at:
> 	${devlib.dir}/org/apache/tools/ant/taskdefs/optional/net/FTP.class
>
> I have checked the spelling more than once.
> ---

All the 3rd party jars, does this include NetComponents.jar?.

You also do not need to <taskdef> ftp, just make sure NetComponents.jar 
is in $ANT_HOME/lib

Jesse Stockall - jesse@cryptocard.com
CRYPTOCard Corp.


Mime
View raw message