"Open Project" unavailable [message #168481] |
Wed, 30 August 2006 11:53  |
Eclipse User |
|
|
|
Originally posted by: cristl.weckenmann.gd-ais.com
I am new to Eclipse and have setup a project under my C:drive.
My project compiled and executed fine.
However, when I used the "File/Switch Workspace" command, I no longer had
access to my project and was unable to return to the original project
using the "Project/Open Project" command because is it inactive (i.e.,
ghosted out). Therefore, I had to setup a completely new project to get
past this issue. What happened and why am I unable to get back to my
original project?
This kind of situation happened again to me yesterday when I installed the
UML plug-in. In this case I had a project setup and working in Eclipse as
before. Then I installed the plug-in and when I re-entered Eclipse, I no
longer had my project and had no way of accessing it since the
"Project/Open Project" command was inactive again. I tried to load the
project file but that only shows the XML and doesn't load the project.
Any suggestions about what I am doing incorrectly?
Thanking you in advance,
Cris
|
|
|
|
Re: "Open Project" unavailable [message #168514 is a reply to message #168491] |
Wed, 30 August 2006 15:43  |
Eclipse User |
|
|
|
Originally posted by: cristl.weckenmann.gd-ais.com
Thanks for your help...I think I understand this now.
I was also reviewing some other newsgroups that discussed this topic and
found addit info explaining what you are saying about "the workspace
differing from the project space". I have also tried various scenarios of
projects and workspaces to understand this better. This is a summary of
what I have learned:
1) One workspace is associated with one or more projects. The projects
can be located within the workspace directory or elsewhere.
- The "import existing project" command associates a project with a
specific workspace either in the workspace directory or elsewhere.
- The "create a new project from existing source libraries" associates the
workspace with a project from another non-workspace directory but won't
work if the project is located within the current workspace directory.
(Use the
import command instead when the project is in the workspace directory.)
- The "create new project" creates a new empty project inside of the
workspace. To bring in copies of some existing source code for the project
into the new project directory after creation, the Workbench UI's
navigation tool is used.
Otherwise, if the files are copied directly into the Windows filesystem
directory the Eclipse Workbench won't show the source code files and they
won't be associated in the Project properties for source code. The
File/Import filesystem command would need to be used instead, in this
case.
2) Changing projects or workspaces
- Various projects can be opened and closed as long as they are associated
with the same workspace. Again, these associated projects may or may not
reside in the workspace directory.
- To view projects of another workspace, use the switch workspace command
and view/open/close the projects for that workspace.
Maybe a some of this info would be usefule to add to the online Help in
the section titled "working with projects, folders and files".
-Cris
|
|
|
Powered by
FUDForum. Page generated in 0.29431 seconds