Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem with projects
icon5.gif  Problem with projects [message #1160197] Tue, 29 October 2013 02:15 Go to next message
Tim Borland is currently offline Tim BorlandFriend
Messages: 4
Registered: October 2013
Junior Member
I know that I just don't quite understand the paradigm.

My problem is that I created a new project in my workspace by copying an existing project (using Windows explorer, not Eclipse) and the new project is not showing up in Eclipse.

I tried a copy in Eclipse before and things did not go well. (Again probably my stupidity. Embarrassed )

I'm trying to create new projects this way because I am using Eclipse to build projects for an embedded processor using the GCC ARM tool chain and it's particular about how things are done.

TIA for helping me figure this out!
Re: Problem with projects [message #1161023 is a reply to message #1160197] Tue, 29 October 2013 14:18 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/28/2013 10:24 PM, Tim Borland wrote:
> I know that I just don't quite understand the paradigm.
>
> My problem is that I created a new project in my workspace by copying an
> existing project (using Windows explorer, not Eclipse) and the new
> project is not showing up in Eclipse.
>
> I tried a copy in Eclipse before and things did not go well. (Again
> probably my stupidity. :blush: )
>
> I'm trying to create new projects this way because I am using Eclipse to
> build projects for an embedded processor using the GCC ARM tool chain
> and it's particular about how things are done.
>
> TIA for helping me figure this out!

Eclipse projects can be copied. This is no problem. The workspace is
another matter and you don't explain exactly how you "copied an existing
project" in your workspace.

There are several proper ways to create new projects.

1. Use the project creation wizard to create a new project from scratch.
(You already know how to do this and it' not what we're talking about here.)

2. Import an existing project into a workspace where the project does
not already exist.

3. Use the project creation wizard to create a new project, but using
files and folders from elsewhere in the filesystem rather than keeping
them inside the workspace folder in the filesystem. This includes the
cases where a) the project code and other resources exist (old
non-Eclipse project or maybe a broken Eclipse project), or b) they do
not exist, you just don't want them living under the workspace folder
when they are created (new project).

Since you've mentioned that the project you copied already existed, I
assume the best advice is to tell you how to do #2.

From your workspace, do File -> Import... -> General -> Existing
Projects into Workspace. You browse to the root of the project in
question. You will likely want to check the box telling Eclipse to leave
the code and resources where they are instead of dragging them into your
workspace folder.

Eclipse projects consist of a number of crucial files and folders such
as .project, .classpath and, in the case of a Dynamic Web Project,
..settings.

The Eclipse workspace fold contains a .metadata subdirectory.

You should tend not to modify any of these by hand to avoid getting into
trouble. Let Eclipse maintain them at least until you think you know
what you're doing.

Hope this helps.
icon14.gif  Re: Problem with projects [message #1161070 is a reply to message #1161023] Tue, 29 October 2013 15:05 Go to previous message
Tim Borland is currently offline Tim BorlandFriend
Messages: 4
Registered: October 2013
Junior Member
Russell, thanks for the reply!

Russell Bateman wrote on Tue, 29 October 2013 10:18

2. Import an existing project into a workspace where the project does
not already exist.


Since you've mentioned that the project you copied already existed, I
assume the best advice is to tell you how to do #2.

From your workspace, do File -> Import... -> General -> Existing
Projects into Workspace. You browse to the root of the project in
question. You will likely want to check the box telling Eclipse to leave
the code and resources where they are instead of dragging them into your
workspace folder.


I realized this morning that I had not included the detail that I had tried importing an existing project and it did not work.

I then realized that I copied the project into my workspace.

I just moved the project out of the workspace and did the import and it worked perfectly! Very Happy
Previous Topic:Right click broken
Next Topic:Error in eclipse-kepler run configurations working with Open MPI
Goto Forum:
  


Current Time: Fri Apr 26 04:39:41 GMT 2024

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

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

Back to the top