Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Move projects between workspaces
Move projects between workspaces [message #267714] Thu, 19 August 2004 06:02 Go to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

Hi

After working on some projects in a workspace I changed to a new workspace.
Then I wanted to copy the projects into this new workspace, but eclipse
doesn't
pick them up, neither automatically nor by manual refresh.
The next try was to import them but eclipse tells me that the destination
folder doesn't exist. Of course, because I want to import it. Leaving the
folder empty or variants of . and ./ didn't help either. How can I work
with
the old projects in the new workspace?

Elcipse 3.0, Win2K

Thanks

bye Fabi
Re: Move projects between workspaces [message #267741 is a reply to message #267714] Thu, 19 August 2004 09:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Fabi wrote:
> After working on some projects in a workspace I changed to a new
> workspace. Then I wanted to copy the projects into this new workspace, but
> eclipse doesn't pick them up, neither automatically nor by manual refresh.
> The next try was to import them but eclipse tells me that the destination
> folder doesn't exist. Of course, because I want to import it. Leaving the
> folder empty or variants of . and ./ didn't help either. How can I work
> with the old projects in the new workspace?

My recommendation would be to copy the folders into the workspace, restart
Eclipse, and then import the copied folders into the workspace. This works
for me.



cheers,
d.
Re: Move projects between workspaces [message #267770 is a reply to message #267714] Thu, 19 August 2004 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Fabi wrote:
> Hi
>
> After working on some projects in a workspace I changed to a new workspace.
> Then I wanted to copy the projects into this new workspace, but eclipse
> doesn't
> pick them up, neither automatically nor by manual refresh.

Once you have copied the old project directory into your new workspace,
start the procedure in Eclipse to create a new project with the same
name. It will detect that the project already exists and configure it
appropriately.

HTH,
Eric
Re: Move projects between workspaces [message #267784 is a reply to message #267714] Thu, 19 August 2004 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Fabi wrote:

> Hi

> After working on some projects in a workspace I changed to a new workspace.
> Then I wanted to copy the projects into this new workspace, but eclipse
> doesn't
> pick them up, neither automatically nor by manual refresh.
> The next try was to import them but eclipse tells me that the destination
> folder doesn't exist. Of course, because I want to import it. Leaving the
> folder empty or variants of . and ./ didn't help either. How can I work
> with
> the old projects in the new workspace?

> Elcipse 3.0, Win2K

> Thanks

> bye Fabi
There is no need to store projects in the workspace. In fact, it is
better to have the projects outside the workspace if you are going to work
on them from different workspaces. When defining the project, uncheck the
Use default location checkbox and simply point to the directory containing
the project. Eclipse will recognize the fact that it is an Eclipse
project if it finds the .project and .classpath files.
Re: Move projects between workspaces [message #267935 is a reply to message #267784] Fri, 20 August 2004 05:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> > After working on some projects in a workspace I changed to a new workspace.
> > Then I wanted to copy the projects into this new workspace, but eclipse
> > doesn't
> > pick them up, neither automatically nor by manual refresh.
> > The next try was to import them but eclipse tells me that the destination
> > folder doesn't exist. Of course, because I want to import it. Leaving the
> > folder empty or variants of . and ./ didn't help either. How can I work
> > with
> > the old projects in the new workspace?

> There is no need to store projects in the workspace. In fact, it is
> better to have the projects outside the workspace if you are going to work
> on them from different workspaces. When defining the project, uncheck the
> Use default location checkbox and simply point to the directory containing
> the project. Eclipse will recognize the fact that it is an Eclipse
> project if it finds the .project and .classpath files.

That might work (I haven't tried), but then why didn't it pick up the
copied projects in the new workspace as the .project and .classpath files
are available as well?

Thanks

bye Fabi
Re: Move projects between workspaces [message #267937 is a reply to message #267770] Fri, 20 August 2004 05:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> > After working on some projects in a workspace I changed to a new workspace.
> > Then I wanted to copy the projects into this new workspace, but eclipse
> > doesn't pick them up, neither automatically nor by manual refresh.

> Once you have copied the old project directory into your new workspace,
> start the procedure in Eclipse to create a new project with the same
> name. It will detect that the project already exists and configure it
> appropriately.

I think that's what I finally did though the other way round. I created
a new project and then copied over all files from the older project. But
I think the import should be improved to also allow importing whole
projects into the workspace (and therefore an empty destination directory).

Thanks

bye Fabi
Re: Move projects between workspaces [message #267940 is a reply to message #267741] Fri, 20 August 2004 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> > After working on some projects in a workspace I changed to a new
> > workspace. Then I wanted to copy the projects into this new workspace, but
> > eclipse doesn't pick them up, neither automatically nor by manual refresh.
> > The next try was to import them but eclipse tells me that the destination
> > folder doesn't exist. Of course, because I want to import it. Leaving the
> > folder empty or variants of . and ./ didn't help either. How can I work
> > with the old projects in the new workspace?

> My recommendation would be to copy the folders into the workspace, restart
> Eclipse, and then import the copied folders into the workspace. This works
> for me.

IIRC, I also tried restarting which didn't work for me. But I anyway try to
restart as little as possible as it always takes quite some time :)

Thanks

bye Fabi
Re: Move projects between workspaces [message #267999 is a reply to message #267935] Fri, 20 August 2004 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Fabi wrote:

>>>After working on some projects in a workspace I changed to a new workspace.
>>>Then I wanted to copy the projects into this new workspace, but eclipse
>>>doesn't
>>>pick them up, neither automatically nor by manual refresh.
>>>The next try was to import them but eclipse tells me that the destination
>>>folder doesn't exist. Of course, because I want to import it. Leaving the
>>>folder empty or variants of . and ./ didn't help either. How can I work
>>>with
>>>the old projects in the new workspace?
>
>
>>There is no need to store projects in the workspace. In fact, it is
>>better to have the projects outside the workspace if you are going to work
>>on them from different workspaces. When defining the project, uncheck the
>>Use default location checkbox and simply point to the directory containing
>>the project. Eclipse will recognize the fact that it is an Eclipse
>>project if it finds the .project and .classpath files.
>
>
> That might work (I haven't tried), but then why didn't it pick up the
> copied projects in the new workspace as the .project and .classpath files
> are available as well?

It does not *automatically* open them because Eclipse allows you to have
directories in your workspace that are not currently open projects. You
just have to tell Eclipse that that directory is a project you want to
work with.
For example, try to delete a project - it will ask you if you want to
keep the contents of the project directory or delete them. That is so
you can later resurrect the project or move it to another workspace even
if it has been removed from your Eclipse view.

HTH,
Eric
Previous Topic:stacking views and editors
Next Topic:Find/Replace bug?
Goto Forum:
  


Current Time: Tue Sep 16 00:33:14 EDT 2025

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

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

Back to the top