If you're using ant < 1.6 then you must continue to use 
NetComponents-1.3.8.jar.  I don't know what net.ipov is all about.
Are they enhancements over the regular ant FTP task?

On Tuesday 11 May 2004 3:08 pm, Mahdad Zarafshan wrote:
> Hi Artemis,
>
> Thanks.
>
> My Ant is 1.5.1.
> I removed those two old jars (iftp and netcomponent)
> from system's classpath and added
> jakarta-oro-2.0.8.jar and commons-net-1.2.1.jar and I
> kept the same <taskdef>'s (per your suggestion) that
> used to work before (with iftp).
> Now I get this:
>
> ------------------------------------
> Buildfile: install.xml
>
> BUILD FAILED
> file:D:/garbage/install.xml:18: taskdef class
> net.ipov.ant.ftp.iFtp cannot be found
>
> Total time: 0 seconds
> ------------------------------------
>
> So I believe I should remove those old <taskdef>'s
> that used to work with iftp.
>
> Any suggestions? If I need <taskdef>'s, does any one
> have any sample <taskdef>'s that's working with ORO
> and commons-net?
>
> Is my Ant version causing this? What if I cannot
> upgrade to 1.6.x now?
>
> Thanks.
>
> Mahdad
>
> --- Artemis Ozten <[EMAIL PROTECTED]> wrote:
> > 2) The two above jars are not officially listed as
> > library dependencies for FTP task ->
> > http://ant.apache.org/manual/OptionalTasks/ftp.html.
> > So, what should I do? Scrap the above two jars and
> > stick with the official libraries such as jakarta's
> > ORO etc.?
> >
> > Yes. In order to make ftp and telnet tasks work,
> > download
> > commons-net.-1.2.0 and jakarta-oro-2.0.8 and copy
> > commons-net.-1.2.0.jar
> > and jakarta-oro-2.0.8.jar to ANT_HOME/lib folder.
> > These binaries are
> > found at
> > http://jakarta.apache.org/site/binindex.cgi.
> >
> > Remove the older ones from ANT_HOME/lib. If
> > necessary upgrade your ant
> > to 1.6.1 or higher. This is the version I got
> > working with the libraries
> > mentioned above.
> >
> > 4) Actually, I removed the two above jars from
> > classpath and started experimenting with
> > commons-net-1.2.1.jar & FTP.class, but getting
> > errors
> > running it. Any sample Ant code to show how to make
> > <ftp> work? Any <taskdef> needed?
> >
> >
> > Keep using the <taskdef> you have been using.
> >
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Win a $20,000 Career Makeover at Yahoo! HotJobs
> > http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> ---------------------------------------------------------------------
>
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> ---------------------------------------------------------------------
> 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