I have an Eclipse project (Flex Builder) of which the actual files have changed location on the drive. When I start Eclipse I can see the project listed but there are no actual files listed. Right clicking the project and selecting properties will show me the old path where the files used to be stored but I can't change it.
How can I change the file location of an Eclipse project where it will look for the files after the project has been created?
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 ".
- [Voiceover] When we first installed Eclipse, and we launched it for the first time, do you remember the prompt that it asked you where you wanted to store your files? It automatically defaults to the C drive, to users, your username, and it creates a folder called Workspace. That's where your files are located.
You can copy your .classpath
and .project
files to the root of the new project directory and then choose 'Import...' from the file menu, and select 'General/Existing Projects into Workspace.' In the resulting dialog, locate the root of the new project directory and finish. Make sure that you have deleted the old project from the work space before importing.
Much more simple: Right click -> Refactor -> Move.
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