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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:35:54+00:00 2026-05-30T17:35:54+00:00

There are 4 projects. project1 project2 project3 project4 Project2 has 2 projects in build

  • 0

There are 4 projects.

  1. project1
  2. project2
  3. project3
  4. project4

Project2 has 2 projects in build path. i.e. project1 and project3

Project1 has a class that reads property from a properties file. Project2
can access that class to getProperty.

project4 has only one project3 in its build path.

It means project3 is in build path of two projects.

I want to get property in project4. I have no choice to include project1 in project4.
Whatelse can I do to get property?

Can I do one think like: While starting project2. Load a list with properties in project3. Then access that from project4?

  • 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-30T17:35:55+00:00Added an answer on May 30, 2026 at 5:35 pm

    As project 2 can have access to classes in project 1, so an interface will be created in project 3. A class in project 2 will implement this interface having function to read property from properties file. Project 4 is in shared library of project 2. Spring does a trick. A method in project 4 gets bean through applicationcontext, of that class which was created in project 2. After getting this bean, property can be accessed.

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

Sidebar

Related Questions

Let's say that there is a solution that contains two projects (Project1 and Project2).
I have a project that has a makefile with broken dependencies. Is there any
Is there a way to run a project inside a solution that has more
Imagine there is a jar (named lib.jar ) that contains a single class and
Qt creator has option to promote one widget to customly created class that derives
I have a project which has shared functionality between three other projects and have
Once an asp.net MVC project has a web deployment project associated with it, there
My current development project has two aspects to it. First, there is a public
I'm writing a WinForms app which has two modes: console or GUI. Three projects
When I compile our project use Delphi 2010 Trial, there has a fatal error

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.