Moving eclipse projects to another computer

I have a new computer and I need to move all my java eclipse projects to it. I can copy all the projects from one hard drive to the other, or I can export/import the projects as described in the link below, but these merely copy the project data, ie in eclipse on the new computer, I still I have to create each project with the gui (File -> New -> Java Project -> Create Project from existing source). Is there a way to "completely" export/import projects?


http://agile.csc.ncsu.edu/SEMaterials/tutorials/import_export/
LVL 1
allelopathAsked:
Who is Participating?
 
laplanterConnect With a Mentor Commented:
You can just copy the projects(workspace) directory on the new computer.

Open Eclipse on the new computer (freshly installed or not)
with the following shortcut:

eclipse.exe  -data location_of_the_new_workspace

example:
C:\eclipse\eclipse.exe -data D:\DEV\Projects

Or alternatively you can start Eclipse and go into the menus:
FILE > SWITCH WORKSPACE > OTHER... and choose the location where you copied the projects/workspace.


Hope that helps

0
 
CEHJConnect With a Mentor Commented:
Have you tried just copying ${user.home}/workspace and pointing Eclipse at the copy?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.