|
Re: How to best migrate projects from one workspace to another? [message #333691 is a reply to message #333674] |
Tue, 23 December 2008 14:43 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 12/22/2008 12:48 PM, Michael Moser wrote:
> So far I always used eclipse with a single workspace only (which
> consequently has grown to huge dimensions over time). Now I just used a
> more quiet day before the holidays to split that workspace into three
> different ones. I did so, by first making two copies of the existing one
> and then starting to delete all projects that would not belong to a
> workspace from it.
First, it is not generally a good idea to copy a workspace to a new
location; workspaces contain absolute path references and other content
that makes them non-portable. It is always better to simply start by
letting Eclipse create a new one and then using export/import to move
your preferences and projects over from the old one.
File > Export will let you move projects around very easily. But I have
to ask why, if you have that much code, aren't you using a version
control system like CVS? Even for a lone developer, it has great
benefits (one of which being that you can easily get the code into any
workspace on any computer at any time).
Hope this helps,
Eric
>
> Even though taking great care I couldn't recall any more what each and
> every project was about and so eventually I ended up with a few projects
> being in the wrong workspace. What's the easiest or best way to move a
> project from one workspace to another?
>
> Just close the project, move the directory to the other workspace and
> importing it as "existing project" into the new one? Or is there some
> "built-in" way to "refactor" (i.e. move) a project?
> I am asking, because the second method (if existing) might be better
> and, e.g., properly adjust file paths (e.g. in build or jardesc files)
> while doing so while the first method definitely would NOT do that...
>
> Michael
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03034 seconds