Martin
Martin

Reputation: 1959

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.

Upvotes: 5

Views: 4228

Answers (3)

qichuan
qichuan

Reputation: 620

You can move the location by right click on the project folder, then Refactor->Move... Then Browse to new folder, note that new location can not be in the current workspace.

Upvotes: 1

rik
rik

Reputation: 8612

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 ...

Upvotes: 8

Shaun Hare
Shaun Hare

Reputation: 3871

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.

Upvotes: 1

Related Questions