Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse multiple projects to view as one in project explorer

I have downloaded a FOSS source code and built using maven. And then created the eclipse project using mvn eclipse:eclipse. This source has number of modules and now I have multiple eclipse projects when I import them into eclipse. The issue is Project Explorer which already had my other projects, has become a mess due to these new multiple projects. What I want is to create something like a parent folder in Project Explorer and put these new projects into it.

I have tried creating a working set for this. I could group new projects with it but then I can't see my early projects there. (I only see the working set.) Is there any other way to do this? I want to see my new working set + other projects at once.

Thank you

like image 773
Bee Avatar asked Mar 09 '26 13:03

Bee


2 Answers

I know this is an old post, put I figured out that Eclipse does, in fact allow you to "categorise" your projects. The basic steps are :-

  • Create a working set
  • Select the projects you want to be included in your working set
  • Repeat the last 2 steps for all your projects.
  • In the explorer view, click the down-arrow icon on the explorer title bar.
  • Navigate to 'Top Level Elements' in the dropdown menu that appears
  • Select 'Working Set'

EDIT: I found a handy tutorial that show you how to do it. https://dzone.com/articles/eclipse-working-sets-explained

like image 126
crafter Avatar answered Mar 14 '26 18:03

crafter


Working sets is the right approach. But when you switch Project Explorer over to use Working Sets, only projects that are in a working set will show up. So, create another Working Set to contain all your "early" stuff, then in the Project Explorer view menu (little white down-triangle), choose "Select working Set..." and then select the ones you want to show up.

like image 36
E-Riz Avatar answered Mar 14 '26 17:03

E-Riz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!