It's all about the answers!

Ask a question

rename local workspace without reloading?


Karthik Krishnan (8898121163) | asked Mar 10 '15, 3:50 a.m.
I have a huge local workspace located under C:\rtc\ws1\"

I want to rename folder ws1 to ws2. Only way I know is to reload the whole Workspace. I don't want to do this because the stream I am loading is > 8 GB

Are there any ways to do this?

I use RTC Eclipse client 5.0.1 (Indigo with P2) on Windows



2 answers



permanent link
Ralph Schoon (63.4k33646) | answered Mar 10 '15, 4:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I have copied, moved and renamed local Eclipse workspaces many times and I believe that it works.
  1. Exit Eclipse
  2. Rename the workspace -  I assume the workspace folder is ws1 and you want to call it ws2
  3. Start Eclipse
  4. Select the new workspace folder

After 4 and logging into RTC, the client should detect the loaded workspaces - all the information is kept within the workspace, as far as I am aware.


Comments
Karthik Krishnan commented Mar 10 '15, 4:49 a.m.

Hi Ralph.

Thanks. I guess i wasn't clear.

What I meant is the workspace (folder) where I load the Repository workspace.

Renaming Eclipse workspace works as you have defined and that's not the issue here

My eclipse workspace: C:\rtc_ws\
My local workspace (loading of RWS) : C:\rtc\ws1

I want to rename C:\rtc\ws1 to C:\rtc\ws2

thanks


Ralph Schoon commented Mar 10 '15, 6:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

What is the reason for that construct versus to have the projects in the Eclipse workspace? Renaming that will not work. There are ways to make it work, I think, but I don't have time to do experiments.
I would suggest you set up a small test example and try out different scenarios. One way, I can think of is to rename the folder and add it as a sandbox again ant then try to  import the projects into the Eclipse workspace again. I am not sure if that would work though.


permanent link
sam detweiler (12.5k6195201) | answered Mar 10 '15, 7:04 a.m.
I think the best way to do this is

make sure you have no pending changes

1. eclipse, project, right click, share->disconnect
2. eclipse, project, delete, keep source
3. rename file folder
4. eclipse, new project, type, set location to where code is (new folder name)
5. eclipse, project, right click, share, jazz... etc..

2/3/4, I don't know how to tell eclipse a project base folder outside the eclipse workspace changed.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.