|Re: Problem with projects [message #1161023 is a reply to message #1160197]
||Tue, 29 October 2013 14:18
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
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
Eclipse projects consist of a number of crucial files and folders such
as .project, .classpath and, in the case of a Dynamic Web Project,
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.
Powered by FUDForum
. Page generated in 0.03367 seconds