A project has moved to a different location, so Eclipse won't open the project. You'll immediately think about simply changing the pointer to the location, but in Eclipse they try to make this impossible for some reason.
You cannot change the project location in the Project Explorer
properties.
You can go to [workspace]/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects/ProjectName
and try to edit .location
which is the pointer to the project, but this file is purposely stored in binary.
How do I change this .location
, is there a tool for that? Any other way to simply point my old project entry to it's new location?
To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.
you want from the list. comes with Eclipse (Help->Contents). > switch between them.
Close Eclipse. Open the location of the workspace and cut paste the entire directory (which contains the ". metadata" directory into the intended location. Restart Eclipse with newly copied folder as the workspace (parent directory of ".
Delete the project from eclipse.
ENSURE THAT THE CHECK BOX is UNSELECTED, during this delete
And then import the project by File
-> Import
-> Import existing project
and choose it from the new location.
Don't try to modify the eclipse files manually!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With