bringing existing project into new eclipse [message #77982] |
Wed, 15 June 2005 07:11  |
Eclipse User |
|
|
|
Originally posted by: adam.no.spam.cyberspaceroad.spam
I want to open up an existing Java project of src code and dirs in my
new workspace. This must be something everyone wants to do all the time.
This has puzzled me for almost a year now. I go:
- create a java project
- choose 'create from existing source'
- select the directory where the existing project is
- then I try to type a name for the project and I get this:
"cannot create project content in workspace"
and the wizard dialog won't let me go any further.
Getting around it is no great problem, just creating a new project and
then manually copying in the src and other files, but it seems I'm
missing some big concept here - there must be a reason I can't do this,
I can't believe it's a bug, so what is it?
Thanks in advance for the enlightenment!
BTW I know I can bring in my project if it's outside the workspace, but
then it's impossible to use it in CVS.
|
|
|
Re: bringing existing project into new eclipse [message #78043 is a reply to message #77982] |
Wed, 15 June 2005 09:25   |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Which version of Eclipse are you using? In 3.01, there is no 'create from
existing source' option on the project creation wizard. Do you mean
Create Project at External Location? This is what you want to use.
Select this option, click on Browse, select the directory with your
source. As long as the directory is outside of the workspace and doesn't
create a conflict with an existing workspace, it will allow this. The
source remains in the external location. You can use CVS to manage the
source code from this location as well.
Where is your workspace in relation to the directory that contains the
existing source. They should not be in the same directory hiearchy.
Workspaces contain references to projects and configuration options you
choose. The workspace is used as the default location to create new
projects, but any major project that you are working on should not be kept
in the workspace. Leave it in the external location and let the workspace
reference this location. This will make the CVS management much easier.
Adam Hardy wrote:
> I want to open up an existing Java project of src code and dirs in my
> new workspace. This must be something everyone wants to do all the time.
> This has puzzled me for almost a year now. I go:
> - create a java project
> - choose 'create from existing source'
> - select the directory where the existing project is
> - then I try to type a name for the project and I get this:
> "cannot create project content in workspace"
> and the wizard dialog won't let me go any further.
> Getting around it is no great problem, just creating a new project and
> then manually copying in the src and other files, but it seems I'm
> missing some big concept here - there must be a reason I can't do this,
> I can't believe it's a bug, so what is it?
> Thanks in advance for the enlightenment!
> BTW I know I can bring in my project if it's outside the workspace, but
> then it's impossible to use it in CVS.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08134 seconds