Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

scm load insists on loading into sandbox root <C:\> bu

Explored the scmtools on Windows and got stuck with load after successfully creating new repository workspace:

C:\>lscm create workspace -r ghu scmtools_workspace -s "Operational Infrastructure Team Stream"
Workspace (1009) "scmtools_workspace" successfully created

Verify the workspace has been creatred by listing it::
C:\>lscm -a y list workspaces -r ghu
(1009) "scmtools_workspace"

But can't load it into any place other than C:\, which I don't want to:

Checked scm help load:
workspace-path
Files and folders from the specified workspace will be loaded into this path name. The path name is created if it does not already exist. If this option is omitted, scm load creates a new local folder as a subdirectory of the current working directory. The new folder has the name of the specified workspace.

Based on that, I assume I can specify any directory to load to on my local drive but I can't:

C:\>lscm load scmtools_workspace -d c:\scmtools_workspace -r ghu
Problem running 'load':
Must load in sandbox root (C:\). To load into a descendent specify the path with target.

I tried wihtout the -d option but it doesn't create a new local folder as a subdirectory of the current working directory as it just tried to load all the folders in the component under C:\, failed because of the name confliction.

Eventually I tried to use -i option to load component roots as directories in the filesystem and it worked:
C:\>lscm load scmtools_workspace -i -r ghu


How has the sandbox root been decided? Could it be changed?
Why scm load -d doesn't work as it is documented? Should I raise a bug for it?

1 vote



6 answers

Permanent link
And I don't find unload command so how do I unload a loaded workspace as in Eclipse Client?

Hw do I delete/remove a workspace created via scmtools?

I am told that Do not use Rational Team Concert source control command line tools to work in an Eclipse workspace.

But can I work on scmtools workspace via Eclipse client so I can unload or delete them?

0 votes


Permanent link
I have the same problem when trying to do a Maven release; any advice or help appreciated!


[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building MyProject
[INFO] task-segment: [release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:perform {execution: default-cli}]
[INFO] Checking out the project to perform the release ...
[INFO] scmUrl - uname;pwd@https://myserver:myport/jazz:myrepositoryworkspaceid
[INFO] Scheme - https
[INFO] Command line - cmd.exe /X /C "scm load --repository-uri https://myserver:myport/jazz --username uname --password pwd --force --dir C:\builds\myproject\target\checkout myrepositoryworkspaceid"
[INFO] err - Problem running 'load':
Must load in sandbox root (C:\builds). To load into a descendent specify the path with target.

[ERROR] Error code for Jazz SCM checkout (load) command - 1
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to checkout from SCM
Provider message:
Error code for Jazz SCM checkout (load) command - 1
Command output:
Problem running 'load':
Must load in sandbox root (C:\builds). To load into a descendent specify the path with target.


And I don't find unload command so how do I unload a loaded workspace as in Eclipse Client?

Hw do I delete/remove a workspace created via scmtools?

I am told that Do not use Rational Team Concert source control command line tools to work in an Eclipse workspace.

But can I work on scmtools workspace via Eclipse client so I can unload or delete them?

0 votes


Permanent link
-d option should create the directory if one does not exist. The error "Must load in sandbox root" happens if you have already run a load on a directory (say c:\test, which will be set as the sandbox root) and run another load and specified a directory below the earlier loaded directory (say c:\test\abc).

When you use the -i option, it will create the component names as folders under the directory.

There is no command in scm cli to unload a workspace. All you have to do is delete the workspace directory manually.

0 votes


Permanent link
The sandbox root will have a directory called .jazz5. If you delete that directory scm will stop recognizing that directory as its workspace.

0 votes


Permanent link
Thanks.
I verified that after manually removing the C:\jazz5 folder and the loaded componet folders under, I can use scm load to get my repository workspace loaded into a folder I specify using -d.

Is this documented somewhere in RTC documentation?

If not it would be helpful to others to add it in next release.

0 votes


Permanent link
Problems occurred running sharing projects.

Reason:The workspace directory 'C:\' is contained within sandbox 'C:\' which is not supported

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 01 '10, 11:40 a.m.

Question was seen: 15,209 times

Last updated: Sep 01 '10, 11:40 a.m.

Confirmation Cancel Confirm