I was wondering what would be the best approach you guys would take to relocate an entire Eclipse workspace? Assuming it's either versioned and exported, what would you do? Import the file? Checkout the whole thing from the repo? Thanks much in advance!
views:
482answers:
2Maybe I'm missing something, but wouldn't you just start Eclipse, and either select the new workspace to use or select Switch workspace
from the File
menu?
As you ask for the "best way" and already mention "versioned" I assume that you have some version control (as opposed to eclipses "Local History" involved. Basically, it's "best practice" to have version control, even when working alone. Use this and you're done.
This enables you not only to migrate to a new machine (as you mentioned in a comment to matt b's question) but to operate on both - the old and new machine - simultaneously should you discover that you rely on some external component only available in the old environment. This will also help you to get your workspace&repository clean of hardcoded library paths and rather rely on logical library names.