Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Import existing projects into my workspace
Import existing projects into my workspace [message #28854] Fri, 25 February 2005 01:01 Go to next message
Eclipse UserFriend
Originally posted by: leeadavisAtYahoo.com.nospam.com

I want to get an existing project into my workspace. ( E.g.
http://ical4j.sourceforge.net ).

So I naturally thought there was a way to do that with file import. But
Eclipse has a paridigm I do not understand; i.e. the importing of the
project does not copy the project to my workspace. Via google, I have
found others with that problem and they eventually came up with the
solution to
1)copy existing project under their workspace directory and then
2) import existing project from that directory to "activate" the project
as part of the eclipse workspace.

1) So I downloaded and unzipped ical4j and have on my e: drive what
appears to be a complete directory structure including a .project file.
If i try to import existing project from here, it does not copy the files
to my workspace.

2) So I copy that directory to my workspace directory and then try to do a
file import existing project from that directory ( which the Googled seem
to have had success with )and it fails. I get "Invalid project
description". The details button shows
"C:/EclipseWorkspace/ical4j-0.9.11 and C:/EclipseWorkspace overlap."
where C:/EclipseWorkspace is my workspace.

I am obviously missing some concept since I am unable to get existing
projects in. I had previously tried to import an Ant project ( Apache
common libs ) and the Ant import similarly failed to copy the files to
the workspace where they need to be.

TIA,
Lee
Re: Import existing projects into my workspace [message #28858 is a reply to message #28854] Fri, 25 February 2005 03:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: duncan.krebsnet.com

Lee,
It sounds like the .project file in the project you are trying to import
is corrupt. What version of eclipse are you using? I would also try to
copy a project directory out of your workspace folder, then delete the
projec in eclipse and repaste the copy back into the workspace folder and
then import the project in eclipse. If that does not work then download a
new copy of eclipse.



Lee Davis wrote:

> I want to get an existing project into my workspace. ( E.g.
> http://ical4j.sourceforge.net ).

> So I naturally thought there was a way to do that with file import. But
> Eclipse has a paridigm I do not understand; i.e. the importing of the
> project does not copy the project to my workspace. Via google, I have
> found others with that problem and they eventually came up with the
> solution to
> 1)copy existing project under their workspace directory and then
> 2) import existing project from that directory to "activate" the project
> as part of the eclipse workspace.

> 1) So I downloaded and unzipped ical4j and have on my e: drive what
> appears to be a complete directory structure including a .project file.
> If i try to import existing project from here, it does not copy the files
> to my workspace.

> 2) So I copy that directory to my workspace directory and then try to do a
> file import existing project from that directory ( which the Googled seem
> to have had success with )and it fails. I get "Invalid project
> description". The details button shows
> "C:/EclipseWorkspace/ical4j-0.9.11 and C:/EclipseWorkspace overlap."
> where C:/EclipseWorkspace is my workspace.

> I am obviously missing some concept since I am unable to get existing
> projects in. I had previously tried to import an Ant project ( Apache
> common libs ) and the Ant import similarly failed to copy the files to
> the workspace where they need to be.

> TIA,
> Lee
Re: Import existing projects into my workspace [message #29636 is a reply to message #28854] Fri, 25 February 2005 17:30 Go to previous message
Eclipse UserFriend
Originally posted by: ian.no.spam.please

Lee Davis wrote:
> I want to get an existing project into my workspace. ( E.g.
> http://ical4j.sourceforge.net ).
>
> So I naturally thought there was a way to do that with file import. But
> Eclipse has a paridigm I do not understand; i.e. the importing of the
> project does not copy the project to my workspace.

That is the intended behaviour; it tells you this in the Import dialog,
as soon as you select "Existing Project into Workspace" (read the top
line). But this doesn't really matter where the files are, as long as
there is a Project created (parts of which are hidden, alas, in ugly
binary files in the .metadata directory), then Eclipse is
able to work with the project nicely. I just did this for ical4j and
Eclipse is happy with the project file (so we know that its .project
file is not corrupted, as another poster suggested).

If you really want the project physically stored in your workspace, one
way to do so is to check it out via anonymous CVS (I presume ical4j
supports this; I think all SourceForge projects do). Either use Import->
Checkout Project from CVS or open the CVS Locations view.
Previous Topic:CVS repository tuning
Next Topic:JDT Quick-Fix Question : Smart Insert of Semicolon ??
Goto Forum:
  


Current Time: Sun Nov 23 03:53:16 GMT 2014

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

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