Hello, Actually, if you use the ftp task, you need the commons-net jar, oro, and ant-commons-net.jar. The best is to download ant from ant.apache.org, going to "Download", "Binary Distributions".
If you build ant yourself, get the dependencies before building, and put them in the source tree under lib/optional. Failing this, the jars containing the optional tasks such as ant-commons-net.jar will be "Manifest-Only" (in other words, empty). Could well be that this is your case. If you do have an ant-commons-net.jar, do a jar tvf on it to see what it has in its guts. Antoine ----- Original Message ----- From: "Ivan Ivanov" <[EMAIL PROTECTED]> To: "Ant Users List" <user@ant.apache.org> Sent: Friday, December 09, 2005 8:27 PM Subject: RE: ant-optional.jar > Hello, > > I am using ftp task without problems. Be sure that you > follow the instruction in Library Dependencies Section > [1] in ant manual. > > Regards > Ivan > > [1]http://ant.apache.org/manual/install.html#librarydependencies > > --- "Gunter, Tony" <[EMAIL PROTECTED]> > wrote: > > > > > Ah! That explains why I can't find optional.jar for > > 1.6.5 ... > > > > But it raises other questions: I'm trying to use the > > ftp task with Ant > > 1.6.5, but ant is telling me it doesn't recognize > > the task named "ftp." > > I downloaded both the oro and commons.net jar files, > > placed them in > > ANT_HOME\lib, and Ant still does not recognize the > > task name. Upon > > further inspection, the installation document asks > > you to install oro, > > commons.net, and optional ... so I assumed that's > > what my problem was. > > Apparently not. Why is Ant not recognizing ftp as a > > valid task? > > > > > > -----Original Message----- > > From: Ivan Ivanov > > [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 09, 2005 1:00 PM > > To: Ant Users List > > Subject: Re: ant-optional.jar > > > > Hello, > > > > what version of Ant are you using? optional.jar was > > used prior to Ant 1.6. If you use Ant 1.6 you do not > > need it; if not, it is better to upgrade. > > > > Regards > > Ivan > > > > --- "Gunter, Tony" <[EMAIL PROTECTED]> > > wrote: > > > > > > > > Can someone tell me where to download > > > ant-optional.jar? I can't seem to > > > find it online. > > > > > > > > > > > > ************************************************************************ > > *************************** > > > The information in this email is confidential and > > > may be legally privileged. Access to this email > > by > > > anyone other than the intended addressee is > > > unauthorized. If you are not the intended > > recipient > > > of this message, any review, disclosure, copying, > > > distribution, retention, or any action taken or > > > omitted to be taken in reliance on it is > > prohibited > > > and may be unlawful. If you are not the intended > > > recipient, please reply to or forward a copy of > > this > > > message to the sender and delete the message, any > > > attachments, and any copies thereof from your > > > system. > > > > > > ************************************************************************ > > *************************** > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > **************************************************************************** *********************** > > The information in this email is confidential and > > may be legally privileged. Access to this email by > > anyone other than the intended addressee is > > unauthorized. If you are not the intended recipient > > of this message, any review, disclosure, copying, > > distribution, retention, or any action taken or > > omitted to be taken in reliance on it is prohibited > > and may be unlawful. If you are not the intended > > recipient, please reply to or forward a copy of this > > message to the sender and delete the message, any > > attachments, and any copies thereof from your > > system. > > > **************************************************************************** *********************** > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > 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]