Jump to content
Molioo

Moving workspace to different disc

Recommended Posts

I want to move my workspace from C:\ to G:\. 

From other post on that forum I found out that it's possible to move a workspace by using  "cm cwk" command.

I tried to do that and it returned an error saying

Quote

Error: Source and destination path must have identical roots. Move will not work across volume

So is there any other way to move my workspace from C:\ to G:\ ? How can I achieve that?

Share this post


Link to post
Share on other sites

Hi,

You can also manually edit the "C:\Users\xxx\AppData\Local\plastic4\plastic.workspaces" file to point the specific workspace to the new location and then move the workspace (including the ".plastic" folder) to the new location.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Hi.

I tried this, too, but now I am getting the error "Workspace info cannot be null" when I open the workspace in plastic UI 7.0.16.2277 (Saxon). How can I solve this?

Update: I just found another info in this forum which outlines just the opposite approach (don't move the .plastic folder)

Which guideline is correct and failsafe?

Regards
Frank

Share this post


Link to post
Share on other sites

If not moving the ".plastic" folder, you are not actually moving the workspace but creating a new one on a different location. But as you are moving the workspace content, it won't need to be downloaded again (only the workspace metadata is recreated in the new path). 

The proper way to move a workspace is via command (not manually).

cm cwk --help

But the user reported a problem with this command so we were trying to find a workaround.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Hi again.

At least I found that it is a good idea to close all tabs in the plastic UI of the changed workspace or workspace to change, esp. the 'Pending Changes' prior or after the workspace movement.
This will erase the "Workspace info cannot be null" issue.

The approach gives also possibility to change workspace name by changing the name in [workspace].plastic/plastic.workspace and "C:\Users\xxx\AppData\Local\plastic4\plastic.workspaces" as well identically.

@calbzam: Though a litte off-topic: Is there a way to increase the number of choosable workspaces in plastic ui from a fixed number of 7 without the notion to use "Open other workspace ..."?

Thanks and regards
Frank

Share this post


Link to post
Share on other sites

HI.

There is a parameter where you can configure it in the "C:\Users\carlos\AppData\Local\plastic4\guiclient.conf" file
eg:
 

  <RecentWorkspacesCount>10</RecentWorkspacesCount>


Best regards,
Carlos.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...