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

  • SEARCH
  • Home
  • 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 8886729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:37:42+00:00 2026-06-14T21:37:42+00:00

Two java projects P1 and P2 in eclipse. P2 depends on P1. I perform

  • 0

Two java projects P1 and P2 in eclipse. P2 depends on P1. I perform the following actions –

P2 > Build Path > Configure build path > Add P1 > Ok.

I see that the dependency is created. BUT !!! What is happening behind the scenes ? Whatever is happening, how do I do it manually also ? Where can I learn about it ?

Thanks.

  • 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-06-14T21:37:43+00:00Added an answer on June 14, 2026 at 9:37 pm

    Look in project P2 in file .classpath and you should see something like the following line somewhere in the file:

        <classpathentry combineaccessrules="false" kind="src" path="/P1"/>
    

    This means you’ve added classes in project P1 to the build and execution class path for project P2. This line is “what’s happening behind the scenes” to implement the configuration change. Whatever the exact line is, if you add it manually to the .classpath file then you’ve manually created the dependency.

    By the way, in some navigation view the “dot resources”, like the .classpath file, are filtered out of the view. There’s a black downward-pointing triangle in the toolbar for the view. If you click on that triangle you’ll see a menu item called “Filters…”. If you click this item then you can uncheck “dot resource files” to remove the filter and view these files in the navigation view.

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

Sidebar

Related Questions

I have two Eclipse Maven Java projects. A domain project that is laden with
short question, is there a way to build two java projects in eclipse in
Lets say that there are two java projects P1 and P2 in my Eclipse
Suppose I have two Java projects in Maven / Eclipse: An open source application
Consider the following two Java files that contain a simplified version of my issue
If I open two Java projects in Eclipse which depend on each other, I
I have two java projects in eclipse. Second one is using first one's jar.
I have an Android Eclipse project that I'd like to divide into two sub-projects.
I have two Java projects in eclipse. Same project but different versions. Now I
I want to run two java applications located in two different projects in eclipse

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.