Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4345646
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:03:51+00:00 2026-05-21T12:03:51+00:00

Hey, all. I’m currently trying to set up FTP support for my ANT (version

  • 0

Hey, all. I’m currently trying to set up FTP support for my ANT (version 1.8.2) install on OSX (Snow Leopard 10.6.7) and I’ve kind of run into a wall. I’ve read the documentation on Apache.org covering the installation of new tasks as well as several articles littered throughout the web and I can’t seem to get this thing working.

All the articles I’ve read refer to two specific JAR files that does not come packaged with the default installation of ANT:

  1. Commons-Net (2.2.0)
  2. Jakarta ORO (2.0.8)

Apparently, Jakarta ORO is no longer an active Apache project, but I was able to find an archived version.

Then, apparently, all I have to do is drop the precompiled JAR files into the lib folder relative to ANTs base install directory. I ran the following command:

ant -diagnostics | grep ftp.*Available

And I get the following response:

ftp : Not Available (the implementation class is not present)

No joy.

Not sure what else to do. From what I’ve read, I’m performing the appropriate steps to get this thing working.

So, I’ve done a few hours of due diligence and I am left with no choice but to ask you all for help. Below is a direct link to the out put of the -diagnostics switch. Hopefully, someone can shed some light on what I’m doing wrong here.

http://www.thedrunkenepic.com/uploads/antDiagnostics.txt

As always, I’m grateful for any help I can get!

DISCLAIMER: I’ve been using OSX now for the past few months and while I feel pretty comfortable with using the terminal, I’m still relatively new. So, please… be gentle. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:03:52+00:00Added an answer on May 21, 2026 at 12:03 pm

    The version of ant that comes with OSX doesn’t include any of the optional tasks – not just the dependencies (e.g. commons-net), the jar files that implement the tasks themselves aren’t there. I think that when compiling ant, those tasks are only built if the dependencies are present on the machine (as they reference them) and the apple engineer (or build machine) that compiled the mac ant version didn’t have the dependencies.

    For example:

    ~ $ ls /usr/share/java/ant-1.8.2/lib/ant-commons-net.jar
    ls: /usr/share/java/ant-1.8.2/lib/ant-commons-net.jar: No such file or directory
    

    but (I have ant downloaded from Apache installed locally in my ~/tools dir):

    ~ $ ls tools/apache-ant-1.8.2/lib/ant-commons-net.jar 
    tools/apache-ant-1.8.2/lib/ant-commons-net.jar
    

    and:

    ~ $ jar -tf tools/apache-ant-1.8.2/lib/ant-commons-net.jar | grep FTPTask.class
    org/apache/tools/ant/taskdefs/optional/net/FTPTask.class
    

    Your best bet is probably to get a version of ant direct from the Apache site and install it locally somewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.