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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:29:11+00:00 2026-05-15T08:29:11+00:00

I have a number of interdependent projects in an Eclipse workspace. Eclipse manages dependencies

  • 0

I have a number of interdependent projects in an Eclipse workspace. Eclipse manages dependencies between them within the IDE but I’m starting work on a master build script that will sit in the folder about all the projects (the workspace folder).

I haven’t decided on if I will use Maven, Gradle or Ant/Ivy tet, but my question is, is there a way so that I can see a build script in the workspace folder in the Project/Package explorer? Currently it only shows me projects, but assuming I decide on an Ant build, I want to be able to see the main build.xml file in this window.

I’ve played around with settings to no avail. Is it possible? If not, should I just set up an external run configuration instead?

  • 1 1 Answer
  • 2 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-15T08:29:12+00:00Added an answer on May 15, 2026 at 8:29 am

    Putting the build files directly in the workspace folder is a very bad idea for many reasons and this is why it seems just impossible to do so. The workspace is just that.. a project container.

    I see two ways to go about your situation :

    1 – Create a master project that will serve the same purpose as your workspace. Then move all your projects as sub folders of this project folder. You will have the folder structure you want. To fix the project structure and get back each project in the workspace you can use the import function and import an existing project. Make sure you do not select copy in the workspace option of the import. This will allow you to have a project in your workspace folder that does not actually live in the workspace directly. Newer versions of eclipse will handle correctly nested projects like this, older versions could not. Note this technique also works for projects that are not sub folders of the workspace, they can be anywhere on your hard drive and still show up in your eclipse workspace UI.

    2 – Another option is to create a master project but leave everything at the same level (do not place project-components inside the project folder) Then arrange your build script to refer to the other projects via relative paths. Note that with some build tools this is not even necessary as they will look at their repository.

    I have used both layout successfully in builds with Ant and Maven. Going to try Ivy soon cause Maven is as painful as it is blessfull. Most likely an Ant-Ivy combination donno yet.

    In a personnal note I think the second option is better suited for scalability. Since all projects are on the same level it makes it easier to reuse a component-project in other master projects without having to make exceptions. Basically you end up having two types of projects. The actual code projects that are the building blocks of your application and the assembly projects that create the final finished product. That way you can get a good separation between the build mechanism for your products and your project. This is another way that maven irritates me as for many options we must pot them in a master POM that projects inherit from. Now to build things slightly differently in different projects one has to augment the master POM with specificities of each. I would much prefer placing this in the master project than having to spread it all over the place.

    Anyways, my 2 cent, I hope this helps.

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

Sidebar

Related Questions

I have number of line breaks in a string. But I only want it
I have changing number of divs (elements) and ordering them on page as follows:
I have number of directories starting with same prefix (say foo123, foo345, foo234, foo456h,..)
http://www.exampledepot.com/egs/java.text/FormatNum.html i have number 1.23 and i want to format it to 1,23. But
I'm stuck with the following scenario and appreciate any help/advice.. Requirement I have number
I have a number input that should trigger jQuery on every change. To do
I have a number of classes and they are quite close to each other
We have a number of data objects that realize INotifyPropertyChanged to allow for WPF
I have a number of classes (more than 40), each one has a number
I have a number of aliases defined in my .bashrc . E.g: alias ls='ls

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.