ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: FTP ant task (revised)
Date Tue, 11 Mar 2003 23:24:50 GMT
On Wed, 12 Mar 2003 09:54 am, wrote:
> Yes, NetComponents.jar was listed in my directory listing in
> the original email.  Also does it have to be in $ANT_HOME/lib
> or can it simply be in my classpath?  
> Any idea why ant is not complaining about not finding
> some other class other than FTP.class since we know
> it is in the correct classpath.
> When I removed the <taskdef> for ftp I received another
> error message:
>    "Could not create task or type of type: ftp."
> so I believe your statement is incorrect that I do not
> need to have a taskdef.

He is correct, the taskdef is not required. OTOH, it doesn;t do any harm 

Can you run ant with the -debug flag. YOu should get a stack trace with more 
details about why the ftp task cannot be created. 

Conor MacNeill

View raw message