Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » workspace: how to migrate from default location in Windows?
workspace: how to migrate from default location in Windows? [message #169303] Mon, 04 September 2006 18:51 Go to next message
Eclipse UserFriend
Originally posted by: jlpoole.sbcglobal.net

When I installed Eclipse, now Version: 3.1.2
Build id: M20060118-1600, on Windows XP, I went with the default
settings and my workspace was set up under C:\Documents and
Settings\jlpoole\workspace. I rue that decision.

As it turns out, this is not an ideal place to set up a workspace as it
is in a lower level directory and the directory path contains space
characters (e.g. "Documents and Settings").

I've read the staging a build of Mozilla's Firefox requires you to have
a path that has no spaces. I'd like to pull a build of Firefox into my
Windows sessions of Eclipse and that requires me to have a different
workspace. I'd like to keep all my project in one workspace and
therefor want to move my existing workspace from "C:\Documents and
Settings\jlpoole\workspace" to "G:\ws".

I've searched the Help system and the headers in this forum and have not
found anyone asking this particular question: how do I move my workspace
to a difference path?

I have not tried it, but I suspect simply moving the folder "workspace"
to the G: drive and renaming it will cause Eclipse to conclude the
projects are missing as I see full paths used in the configuration settings.

John Poole
Re: workspace: how to migrate from default location in Windows? [message #169318 is a reply to message #169303] Mon, 04 September 2006 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

John Poole wrote:
> When I installed Eclipse, now Version: 3.1.2
> Build id: M20060118-1600, on Windows XP, I went with the default
> settings and my workspace was set up under C:\Documents and
> Settings\jlpoole\workspace. I rue that decision.
>
> As it turns out, this is not an ideal place to set up a workspace as it
> is in a lower level directory and the directory path contains space
> characters (e.g. "Documents and Settings").
>
> I've read the staging a build of Mozilla's Firefox requires you to have
> a path that has no spaces. I'd like to pull a build of Firefox into my
> Windows sessions of Eclipse and that requires me to have a different
> workspace. I'd like to keep all my project in one workspace and
> therefor want to move my existing workspace from "C:\Documents and
> Settings\jlpoole\workspace" to "G:\ws".
>
> I've searched the Help system and the headers in this forum and have not
> found anyone asking this particular question: how do I move my workspace
> to a difference path?
>
> I have not tried it, but I suspect simply moving the folder "workspace"
> to the G: drive and renaming it will cause Eclipse to conclude the
> projects are missing as I see full paths used in the configuration
> settings.
>
> John Poole

Start by creating the G:\ws workspace. You can do this by starting
Eclipse with a -data G:\ws command line argument, or use the
File->Switch Workspace menu item to specify it. This will open an empty
workspace in the G:\ws directory. Use File->Import->General->Existing
Projects into Workspace wizard. Navigate to your previous workspace
directory. Eclipse should your existing projects. Check the ones you
want in the new workspace. Since you said that you want all projects in
this new workspace, check the Copy projects into workspace checkbox at
the bottom of the dialog. Click Finish to perform the import.

If you have existing workspace preferences that you would like to keep,
switch to the old workspace and use File->Export->General->Preferences
to export them. Use File->Import->General->Preferences to import them
into the new workspace.
Re: workspace: how to migrate from default location in Windows? [message #169349 is a reply to message #169318] Tue, 05 September 2006 02:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jlpoole.sbcglobal.net

David Wegener wrote:
> John Poole wrote:
>> When I installed Eclipse, now Version: 3.1.2
>> Build id: M20060118-1600, on Windows XP, I went with the default
>> settings and my workspace was set up under C:\Documents and
>> Settings\jlpoole\workspace. I rue that decision.
>>
>> As it turns out, this is not an ideal place to set up a workspace as
>> it is in a lower level directory and the directory path contains space
>> characters (e.g. "Documents and Settings").
>>
>> I've read the staging a build of Mozilla's Firefox requires you to
>> have a path that has no spaces. I'd like to pull a build of Firefox
>> into my Windows sessions of Eclipse and that requires me to have a
>> different workspace. I'd like to keep all my project in one workspace
>> and therefor want to move my existing workspace from "C:\Documents and
>> Settings\jlpoole\workspace" to "G:\ws".
>>
>> I've searched the Help system and the headers in this forum and have
>> not found anyone asking this particular question: how do I move my
>> workspace to a difference path?
>>
>> I have not tried it, but I suspect simply moving the folder
>> "workspace" to the G: drive and renaming it will cause Eclipse to
>> conclude the projects are missing as I see full paths used in the
>> configuration settings.
>>
>> John Poole
>
> Start by creating the G:\ws workspace. You can do this by starting
> Eclipse with a -data G:\ws command line argument, or use the
> File->Switch Workspace menu item to specify it. This will open an empty
> workspace in the G:\ws directory. Use File->Import->General->Existing
> Projects into Workspace wizard. Navigate to your previous workspace
> directory. Eclipse should your existing projects. Check the ones you
> want in the new workspace. Since you said that you want all projects in
> this new workspace, check the Copy projects into workspace checkbox at
> the bottom of the dialog. Click Finish to perform the import.
>
> If you have existing workspace preferences that you would like to keep,
> switch to the old workspace and use File->Export->General->Preferences
> to export them. Use File->Import->General->Preferences to import them
> into the new workspace.
>
Your solution worked; thank you.
Re: workspace: how to migrate from default location in Windows? [message #169560 is a reply to message #169349] Tue, 05 September 2006 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: jlpoole.sbcglobal.net

John Poole wrote:
> David Wegener wrote:
>> John Poole wrote:
>>> When I installed Eclipse, now Version: 3.1.2
>>> Build id: M20060118-1600, on Windows XP, I went with the default
>>> settings and my workspace was set up under C:\Documents and
>>> Settings\jlpoole\workspace. I rue that decision.
>>>
>>> As it turns out, this is not an ideal place to set up a workspace as
>>> it is in a lower level directory and the directory path contains
>>> space characters (e.g. "Documents and Settings").
>>>
>>> I've read the staging a build of Mozilla's Firefox requires you to
>>> have a path that has no spaces. I'd like to pull a build of Firefox
>>> into my Windows sessions of Eclipse and that requires me to have a
>>> different workspace. I'd like to keep all my project in one
>>> workspace and therefor want to move my existing workspace from
>>> "C:\Documents and Settings\jlpoole\workspace" to "G:\ws".
>>>
>>> I've searched the Help system and the headers in this forum and have
>>> not found anyone asking this particular question: how do I move my
>>> workspace to a difference path?
>>>
>>> I have not tried it, but I suspect simply moving the folder
>>> "workspace" to the G: drive and renaming it will cause Eclipse to
>>> conclude the projects are missing as I see full paths used in the
>>> configuration settings.
>>>
>>> John Poole
>>
>> Start by creating the G:\ws workspace. You can do this by starting
>> Eclipse with a -data G:\ws command line argument, or use the
>> File->Switch Workspace menu item to specify it. This will open an
>> empty workspace in the G:\ws directory. Use
>> File->Import->General->Existing Projects into Workspace wizard.
>> Navigate to your previous workspace directory. Eclipse should your
>> existing projects. Check the ones you want in the new workspace.
>> Since you said that you want all projects in this new workspace, check
>> the Copy projects into workspace checkbox at the bottom of the
>> dialog. Click Finish to perform the import.
>>
>> If you have existing workspace preferences that you would like to
>> keep, switch to the old workspace and use
>> File->Export->General->Preferences to export them. Use
>> File->Import->General->Preferences to import them into the new workspace.
>>
> Your solution worked; thank you.

I was too quick to declare success.

Actually, I now realize the actual file trees were never moved, they
remained under the C:\ drive. The File-Import (no "General" option on
my menu) states on the dialogs: "Create new projects from an archive
file or directory. This does not copy the project into the workspace."

Using Windows Explorer, I then moved the project file under the G:\ws
directory and then performed the File-Import-Existing Project selecting
the newly moved project folder under G:\ws. That seems to work.
Previous Topic:removing package name prefixes in Package Explorer
Next Topic:Eclipse directory problem
Goto Forum:
  


Current Time: Thu Mar 28 15:16:03 GMT 2024

Powered by FUDForum. Page generated in 0.04022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top