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 902023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:39:06+00:00 2026-05-15T15:39:06+00:00

I’ve written an ant task that extracts the classpath of a project form eclipse’s

  • 0

I’ve written an ant task that extracts the classpath of a project form eclipse’s .classpath file – so I don’t need to maintain the project’s dependencies both in eclipse and in my ant file.

This ant task works great and it makes my compilation ant scripts to be very elegant, short, and the most important thing maintainable.

In Eclipse you can use a pre-defined Libraries (under project > Properties > Java Build Path > Libraries), for example: Junit, Apache Tomcat, and JRE System Library. I am not talking about a user library

Each library hold a list of jars associated with it. I can see this list by expanding the library. Foe example the Juni4 library contains 2 jars: junit.jar

What keeps me from finalizing my work is that I don’t know where eclipse stores the information about the jars inside the library.

— Yonatan

  • 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-15T15:39:07+00:00Added an answer on May 15, 2026 at 3:39 pm

    Maybe in bundles.info (the following paths are from the Helios3.6 distribution, but you can find similar paths with Galileo 3.5)

    C:\Prog\Java\eclipse-SDK-3.6-win32-x86_64\eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info
    

    , where you can read:

    org.eclipse.jdt.junit4.runtime,1.1.100.v20100526-0800,plugins/org.eclipse.jdt.junit4.runtime_1.1.100.v20100526-0800.jar,4,false
    

    which references the junit.jar found in:

    C:\Prog\Java\eclipse-SDK-3.6-win32-x86_64\eclipse\plugins\org.junit_4.8.1.v4_8_1_v20100427-1100\
    

    That is consistent which what you cansee when you actually “add a Library”:

    alt text http://img805.imageshack.us/img805/4581/eclipseaddlib.png

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

Sidebar

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.