Problem with Switching Workspace [message #1693122] |
Tue, 21 April 2015 19:09  |
Eclipse User |
|
|
|
So I just downloaded eclipse an hour ago or so and realized that my folders weren't set up the way I wanted them to. Well, once I renamed everything... it went to hell.
I'm using Eclipse IDE for Java Developers, the most recent version. I had my workspace set up for \Desktop\Dragons\eclipse and had eclipse set to this. Worked like a charm. Then I exited out of eclipse and instead changed made a folder "My Mods" and put "Dragons" inside of it. I changed the workspace appropriately to \Desktop\My Mods\Dragons\eclispe.
When I opened the workspace, it gave me a folder with an error-- something about the folder not being found. So I figured I should delete it in hopes Eclipse would try to find something else-- no dice. After several refreshes and changing my workspace to and from the directory, it comes up empty, even though the workspace within is perfectly valid.
I think the way I used to get around this was just to make another folder entirely (something like "Mods" or "MyMods") and just move the files in there and switch the workspace to that. Is there something I can do that doesn't require that workaround?
|
|
|
Re: Problem with Switching Workspace [message #1693128 is a reply to message #1693122] |
Tue, 21 April 2015 20:01   |
Eclipse User |
|
|
|
On 04/21/2015 05:24 PM, Rui Sup wrote:
> So I just downloaded eclipse an hour ago or so and realized that my
> folders weren't set up the way I wanted them to. Well, once I renamed
> everything... it went to hell.
>
> I'm using Eclipse IDE for Java Developers, the most recent version. I
> had my workspace set up for \Desktop\Dragons\eclipse and had eclipse set
> to this. Worked like a charm. Then I exited out of eclipse and instead
> changed made a folder "My Mods" and put "Dragons" inside of it. I
> changed the workspace appropriately to \Desktop\My Mods\Dragons\eclispe.
>
> When I opened the workspace, it gave me a folder with an error--
> something about the folder not being found. So I figured I should delete
> it in hopes Eclipse would try to find something else-- no dice. After
> several refreshes and changing my workspace to and from the directory,
> it comes up empty, even though the workspace within is perfectly valid.
>
> I think the way I used to get around this was just to make another
> folder entirely (something like "Mods" or "MyMods") and just move the
> files in there and switch the workspace to that. Is there something I
> can do that doesn't require that workaround?
You don't want to rename workspaces and projects willy-nilly. There are
metadata in files such as .metadata, .project, .classname, .settings,
etc. that record locations and names.
The easiest thing to do is to set up a new workspace, launch Eclipse,
select that workspace, import any projects you've started on, then
discard the old workspace.
In the face of this advice, beware what you do with the projects. If
you've created them inside the old, broken workspace, you'll want to
understand how Eclipse works a little better before discarding your
workspace unless you also elect to bring a copy of those projects into
the new workspace. If you let Eclipse copy the project into your new
workspace, you're safe deleting the old workspace including what was in
the projects.
In future, manage workspaces and project from within Eclipse rather than
from the filesystem until you gain a better understanding of what's
going on.
Cheers and best of luck.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08071 seconds