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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:41:26+00:00 2026-05-27T16:41:26+00:00

In Eclipse, for jar-libraries you can attach an archive with source-code files to get

  • 0

In Eclipse, for jar-libraries you can attach an archive with source-code files to get classes from a library linked to the actual source-code and allow debugging et.al.

However I cannot get it to work when the source files are located further down in the directory structure.

E.g. Apache Commons Beanutils, the source-archive that I can download from Apache contains the following structure:

commons-beanutils-1.8.3-src
   |_ src
       |_org
           |_apache
               |_...

So if I just add the commons-beanutils-1.8.3-src.zip as source-attachment, Eclipse does not find the code because it does not know about the sub-folders.

I know that I can unpack source (and then pack it up again), but I have a number of libraries that I would like to handle and therefore I would like to take the source-archive “as is” and avoid these manual steps each time I upgrade one of those.

Is there a way to do this or does Eclipse simply not provide functionality for this?

  • 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-27T16:41:26+00:00Added an answer on May 27, 2026 at 4:41 pm

    The binary download includes a source (and doc) jar:

    .../commons-beanutils-1.8.3 $ ls -l
    -rw-r--r-- 1 dave dave  232019 commons-beanutils-1.8.3.jar
    -rw-r--r-- 1 dave dave 1342391 commons-beanutils-1.8.3-javadoc.jar
    -rw-r--r-- 1 dave dave  296761 commons-beanutils-1.8.3-sources.jar
    

    The source download is intended to be a source directory, not used as a source attachment.

    Unlike attaching Javadocs there’s no way to set a path inside a source jar.

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

Sidebar

Related Questions

I realize that in eclipse you can specify certain .jar libraries to add for
I wrote a complex Java application with eclipse that uses many .jar libraries included
I've trying to use Eclipse JDT AST parsing classes. After including the initial JAR,
I could use the following: <fileset dir=C:\Program Files\eclipse\plugins\myplugin> <include name=extraStuff.jar /> </fileset> But that
I need to export jar from my Eclipse Java project and I want to
Can Eclipse browse imported packages and built-in classes or should I just look at
In Eclipse, you can create a project jar with its required dependencies in an
I am having trouble exporting my java project from eclipse as a jar executable
I'm trying to export a program in Eclipse to a jar file. In my
I built a project in Eclipse for my BlackBerry. The jar cannot run on

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.