Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easier way to move a project in Eclipse

Tags:

eclipse

My projects changes location, and I need to tell Eclipse this. (I'm not the one moving the project, it already exists in different folders. To work on a different branch, I work in a different folder.) Today I just delete the project from Eclipse and import it from the new location.

But I have a lot of projects, they change location often and the paths a very complicated. I'd like a better way to manage this in Eclipse.

For example:

J:\iteration234_abc\foo\bar\baz\iffle\dizzle\Project

Only the root-folder changes (iteration-number and the idenfier "abc"). After that there are lot of folders. Many folders has tons of subfolders with similar names, which makes finding the folder with GUI time-consuming and very boring.

It would be so nice if I could just edit the path.

As you may have guessed: The J-drive is a network drive, provided by the source control system. The way to tell source control that I'm working on another iteration, is to continue my work in a different folder. My actual Eclipse workspace normally doesn't contain any projects.

like image 254
myplacedk Avatar asked Jun 07 '10 09:06

myplacedk


1 Answers

I find that the easier in this case is to have two different eclipse workspaces, each pointing to the projects in a different location.

Then you can just use "File->Switch Workspaces" to change all of the open projects at once.

like image 158
Mario Ortegón Avatar answered Oct 19 '22 01:10

Mario Ortegón