Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2.

Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below.

Eclipse Workspace -> Project -> Project1, Project2

i.e Project1 and Project2 should be in folder Project in Workspace folder.

How to do this in eclipse?

like image 660
venu Avatar asked Nov 13 '09 04:11

venu


People also ask

How do I select multiple projects in Eclipse?

If all of your old projects exist in a single directory or in a single parent directory, you can do File -> Import... -> Existing Projects into workspace. Choose a root directory that is a parent all of the projects you want to import. You will then be able to import all of the projects at once.


2 Answers

Take a look at working sets.

In Eclipse, Working Sets provide a convenient way to collect projects together into a sort of holding-folder. This folder exists only in some "meta" sense, and single projects can belong to multiple working sets.

The link above shows a video of these in action. I had been looking for convenient way to collect projects together to ease my searching for specific projects in large workspaces and have found this small bit of organization helps quite a bit.

like image 99
Mark Elliot Avatar answered Sep 23 '22 05:09

Mark Elliot


There really isn't an Eclipse specific solution to this problem. Even if you import the projects in to Eclipse, the only way to arrive at the directory structure you desire is to move the files around in Eclipse.

An easier solution would be to create the desired directory structure somewhere on the filesystem and then use Eclipse's import existing source feature.

like image 34
Steven Levine Avatar answered Sep 19 '22 05:09

Steven Levine