Thanks for the suggestion.  I'll give it a try.

> -----Original Message-----
> From: Costin Grigore [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 19, 2004 4:41 PM
> To: Maven Users List
> Subject: Re: FTP stuff
> 
> 
> I have this problem also on maven rc3.
> I resolved it by removing the
> org/apache/tools/ant/taskdefs/optional/net directory from
> ant-optional-1.5.3-1.jar and adding a dependency to the ant-1.6.1.jar,
> ant-commons-net.1.6.1.jar and commons-net-1.1.0.jar.
> 
> Something like this:
> 
> <typedef name="ftp" 
> classname="org.apache.tools.ant.taskdefs.optional.net.FTP">
>         <classpath>
>            <pathelement
> location="d:\workspace\.maven\repository\ant\jars\ant-1.6.1.jar"/>
>            <pathelement
> location="d:\workspace\.maven\repository\ant\jars\ant-commons-net-
> 1.6.1.jar"/>
>            <pathelement
> location="d:\workspace\.maven\repository\commons-net\jars\commons-
> net-1.1.0.jar"/>
>         </classpath>
> </typedef>
> 
> 
> This is a hack, but until maven is compiled using a newer ant version
> is a solution ;)
> 
> raisercostin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to