This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Ant ftp task creating problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
i am ftping some files from linux system to windows .
i have all the optional.jar,commons-net-1.4.0.jar,jakarta-oro-2.0.8.jar.
but its still saying that can't recognize task ftp .
can any one of u provide me a sloution , or if i am missing some other needed jars...?
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you set things up? Did you drop those two jars into ant's lib directory along with the required and optional jars (especially ant-commons-net.jar)?

It sounds like it cannot find ant-commons-net.jar.

My ant/lib directory has commons-net-1.4.0.jar and jakarta-oro-2.0.8.jar in it and my ftp tasks work. I removed ant-commons-net.jar from ant's lib directory and ran the build with an ftp task in it and got a rather long error message that sounds like what you said you got.

There are other ways to set this up besides dropping the jars in ant's lib directory, but you need to follow the instructions carefully due to the classloader issues.


[ May 17, 2005: Message edited by: Carol Enderlin ]
 
It means our mission is in jeapordy! Quick, read this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic