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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With