Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » sharing a project amongst multiple workspaces
sharing a project amongst multiple workspaces [message #318020] Wed, 18 July 2007 14:06 Go to next message
Eclipse UserFriend
Originally posted by: natgross.gmailSNIP.com

Hi;
I have a project in a workspace, .../eclipse/33/001.
I started a new workspace, .../eclipse/33/002.
There are some projects in the older workspace that I now want in a dir
common to all workspaces, .../eclipse/33/sharedProj, so that regardless
of workspace, these projects should be 'native' to that workspace.

1. How do I refactor/move my current project in 001 to the shared dir?
2. How do I create a new shared project (from either workspace) that
would be common to all workspaces?

Thank you.
natG
Re: sharing a project amongst multiple workspaces [message #318054 is a reply to message #318020] Thu, 19 July 2007 08:28 Go to previous messageGo to next message
Eclipse UserFriend
natG wrote:
> Hi;
> I have a project in a workspace, .../eclipse/33/001.
> I started a new workspace, .../eclipse/33/002.
> There are some projects in the older workspace that I now want in a dir
> common to all workspaces, .../eclipse/33/sharedProj, so that regardless
> of workspace, these projects should be 'native' to that workspace.
>
> 1. How do I refactor/move my current project in 001 to the shared dir?

If you really want to move them into the shared location, probably the
cleanest way is to use File>Export...>Archive File to export the
project. Then delete it from 001, and use File>Import...>Existing
project into workspace to read it back in ... just make the project
location your shared directory.


> 2. How do I create a new shared project (from either workspace) that
> would be common to all workspaces?

When you create the projects, specify the common location in your
wizard. Then you can use import again in the other workspace to
reference it from the other project.

PW
Re: sharing a project amongst multiple workspaces [message #318070 is a reply to message #318054] Thu, 19 July 2007 14:34 Go to previous message
Eclipse UserFriend
Originally posted by: natgross.gmailSNIP.com

On Thu, 19 Jul 2007 08:28:06 -0400, Paul Webster wrote:

> natG wrote:
>> Hi;
>> I have a project in a workspace, .../eclipse/33/001. I started a new
>> workspace, .../eclipse/33/002. There are some projects in the older
>> workspace that I now want in a dir common to all workspaces,
>> .../eclipse/33/sharedProj, so that regardless of workspace, these
>> projects should be 'native' to that workspace.
>>
>> 1. How do I refactor/move my current project in 001 to the shared dir?
>
> If you really want to move them into the shared location, probably the
> cleanest way is to use File>Export...>Archive File to export the
> project. Then delete it from 001, and use File>Import...>Existing
> project into workspace to read it back in ... just make the project
> location your shared directory.
Thanks. I had to adjust your advice a bit, but it works.
Problem was that, upon import it insisted on 'copy files into workspace'.
I also tried File>Export>Java>Jar, with similar results.
So I tried File>Export...File System and had it write it directly to the
shared folder. This allowed me to later import with the copy option
UNchecked.

Thanks again;
nat
Previous Topic:Opening a file from the Breakpoint View
Next Topic:Extending JDT Perspective
Goto Forum:
  


Current Time: Thu May 08 11:25:54 EDT 2025

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

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

Back to the top