Re: eclipse is confusing <project vs workspace>
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Thu, 06 Jul 2006 22:33:11 GMT
<rogndeb@xxxxxxxxx> wrote in message news:1152223570.188193.68960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm a former Java programmer (1995,1996) but have been doing C++ in
between. Now going back to Java and using Eclipse (company standard).
It is an unusual IDE, the part that I'm tripping on is the project vs
workspace.
I created some code and works, saved it into a directory tree. I then
experimented with loading up sample workspaces, but no files show up in
the tree, nor can I build anything. Most other IDEs have a centralized
project file that you load/save which stores the build settings.
However I do not see such a thing in Eclipse. How do I make it reload
what I previously had? (If I browse back to the original folder, no
files show up)
I'm also having trouble understanding your question, so I'll just make some declarative statements:
The parent of a project is a workspace. So when you first start up Eclipse, it'll ask you where your workspace is (unless you checked the box that says "always use this workspace"). You might choose a directory like "My Documents\Eclipse Workspace\". Now Eclipse is loaded, and you can create some projects. Let's say you create a project called "Foo". Then it will exists within your workspace at "My Documents\Eclipse Workspace\Foo".
You can open and close projects by right clicking on them, but even when the project is "closed", it'll still exist within the workspace (you'll see a closed folder icon as a representation of the project).
So the centralized "file" isn't the project, but the workspace. You work in a single workspace, which can have multiple projects simultaneously.
The Eclipse IDE supports languages other than Java, and so projects have something called "natures". If a project doesn't have the "java nature" applied to it, a lot of Java-specific tools (such as automatic compilation, javadoc navigation, etc.) will be disabled.
- Oliver
.
- References:
- eclipse is confusing <project vs workspace>
- From: rogndeb
- eclipse is confusing <project vs workspace>
- Prev by Date: Re: eclipse is confusing <project vs workspace>
- Next by Date: Re: Recommendations for a web application framework?
- Previous by thread: Re: eclipse is confusing <project vs workspace>
- Next by thread: "progress bar page" in spring web app.
- Index(es):
Relevant Pages
|