Reputation: 609
Okay, so I made a mistake of setting my home directory (~, a.k.a. /home/user) to be my workspace location on my RHEL6 box.
I want to change my workspace to ~/workspace. However, I can't seem to do this by copying files. For some background, the project I am currently working on and have fully set up under the ~ workspace, has all source files stored elsewhere (~/depot/.../../../../src), so I don't even see a folder in ~ representing my project.
Upvotes: 39
Views: 59201
Reputation: 642
I got the same problem. At the beginning, I installed everything under c:\eclipse including java , tomcat and workspace (for example, c:\eclipse\java etc) Below are the steps that I moved my eclipse from C Drive to D Drive.
[1] copy c:\eclipse d:\eclipse
[2] start the eclipse on the D drive
[3] switch the workspace (Reference: How to change the Eclipse default workspace?)
[4] change the java(s) used by eclipse on the d drive. (Reference: How to change JDK version for an Eclipse project)
[5] Change the tomcat location in eclipse (Reference : https://www.codejava.net/servers/tomcat/how-to-change-server-location-and-deploy-path-for-tomcat-in-eclipsen)
[6] Remove the c:\eclipse
Upvotes: 0
Reputation: 2857
Upvotes: 2
Reputation: 1
I was testing to move files manually from workspace and suddenly my eclipse did not show them in my eclipse view so i moved them back to the same location where they have come from, entered eclipse and clicked right click on the package where i am expecting those files and clicked Refresh, Now i can view them on my Eclipse under packages, so try do refreshing it might work for u.
Upvotes: 0
Reputation: 1546
On Windows 8 I did this:
Upvotes: 18
Reputation: 83
After closing Eclipse projects and Eclipse itself, move all project folders and .metadata
folder in the new workspace folder.
Upvotes: 3
Reputation: 3687
Do the following steps:
.metadata
from ~
to ~/workspace
~/workspace
Upvotes: 64