Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change project resource location in a project?

I use Eclipse PDT and have setup some PHP projects. The resources for one project had to be moved into a different folder. Can I change the resource location without deleting the project an setting up a new one?

Via "Projects -> Properties" I can only see the location path, but I can't change it.

like image 345
Martin Avatar asked Jan 12 '11 09:01

Martin


People also ask

What is the root directory of a project in Eclipse?

The first time you run Eclipse, you'll be prompted to select a workspace. This is a root directory to hold new projects that you create within Eclipse. The default location is inside the application's folder itself, which is probably not what you want.


2 Answers

Right-click on the project -> Refactor -> Move

Or close the project, delete it (but do not delete content on disk), use terminal or file browser to move the project folder on disk, in Eclipse click File -> Import -> General > Existing Projects into Workspace ...

like image 87
rik Avatar answered Sep 21 '22 22:09

rik


You can at project level use refactor>move to move that code to a new location Not sure if that is exactly what you want.

like image 33
Shaun Hare Avatar answered Sep 22 '22 22:09

Shaun Hare