Eclipse and copying workspaces

前端 未结 5 1229
无人及你
无人及你 2020-12-16 10:21

What do I have to do to copy a complete workspace from one computer to another and be simply able to continue working on it on the other computer?

相关标签:
5条回答
  • 2020-12-16 11:09

    Make sure you shut down eclipse before you copy the workspace, and that the target computer has the same (or higher) eclipse version, including the same plugins.

    Check that your workspace actually contains all the projects - when creating a project, it's possible to have its files situated outside the workspace.

    If your projects use any external libraries installed on the system, install these on the other system in the same place (or adjust the paths).

    Then, there should be no problem.

    0 讨论(0)
  • 2020-12-16 11:11

    You shouldn't have any issues with a straight filesystem copy as long as your eclipse versions match up.

    If they don't, the project metadata may not load correctly

    0 讨论(0)
  • 2020-12-16 11:11

    I use rsync for this. Works great.

    0 讨论(0)
  • 2020-12-16 11:19

    You need to copy the whole folder which you select as your workspace at startup (or you once selected). All settings are included in there (even the opened files).

    0 讨论(0)
  • 2020-12-16 11:20

    In general, a filesystem copy should be sufficient. If you run into problems with your projects, try removing the project from the workspace (without deleting the files) and then re-add the project, which will rebuild the metadata.

    0 讨论(0)
提交回复
热议问题