Loading code using command line SCM
Setting up an automated build environment using jbe and it's going well
except for the following.
The tools used to run the build (compilers, linkers etc) are stored in
the jazz repository in their own 'tools' component.
I had assumed that, before attempting to build using the JBE, on each
build machine that I setup, I'd able to login and run the equivalent of
a CVS or SVN checkout to get the latest tools from Jazz.
After logging in using the builders userid like so
scm login -r https://host:9443/jazz -u builder -P password -n WS
I then tried using the scm command line tool, something like
scm load tools -r WS
This works fine
I can also rerun this command any number of times using different
directories like so:
scm load tools -r WS --dir fred
scm load tools -r WS --dir bill
scm load tools -r WS --dir harry
All of the above commands work, and I end up having 4 copies of the
'tools' component on the system.
Now, if I go to another system, logging in and trying the same thing, I
get the following:
scm load tools -r WS
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir .\fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir c:\tmp
Problem running 'load':
Invalid repository URI: NSBUILD
What do these errors mean ?
except for the following.
The tools used to run the build (compilers, linkers etc) are stored in
the jazz repository in their own 'tools' component.
I had assumed that, before attempting to build using the JBE, on each
build machine that I setup, I'd able to login and run the equivalent of
a CVS or SVN checkout to get the latest tools from Jazz.
After logging in using the builders userid like so
scm login -r https://host:9443/jazz -u builder -P password -n WS
I then tried using the scm command line tool, something like
scm load tools -r WS
This works fine
I can also rerun this command any number of times using different
directories like so:
scm load tools -r WS --dir fred
scm load tools -r WS --dir bill
scm load tools -r WS --dir harry
All of the above commands work, and I end up having 4 copies of the
'tools' component on the system.
Now, if I go to another system, logging in and trying the same thing, I
get the following:
scm load tools -r WS
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir .\fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir c:\tmp
Problem running 'load':
Invalid repository URI: NSBUILD
What do these errors mean ?
2 answers
...
Now, if I go to another system, logging in and trying the same thing, I
get the following:
scm load tools -r WS
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir .\fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir c:\tmp
Problem running 'load':
Invalid repository URI: NSBUILD
What do these errors mean ?
You're running in a directory that has a shared parent. A shared directory is one that you've load'ed or share'd into before.
Walk up the directory hierarchy and find an ancestor that has a '.metadata' or '.jazz3' directory in it. That directory is considered shared.
e
Thanks Evan Got it ...
OK, using scmtools, once I've loaded a workspace (or component) into a
directory, what scmtools command should I execute to keep that directory
up-to-date ?? (the equivalent of CVS/SVN update ?)
Do I do another load ?
Dave
echughes wrote:
OK, using scmtools, once I've loaded a workspace (or component) into a
directory, what scmtools command should I execute to keep that directory
up-to-date ?? (the equivalent of CVS/SVN update ?)
Do I do another load ?
Dave
echughes wrote:
David Wardwrote:
..
Now, if I go to another system, logging in and trying the same
thing, I
get the following:
scm load tools -r WS
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir .\fred
Problem running 'load':
Can not load into a subdirectory of an existing workspace.
scm load tools -r WS --dir c:\tmp
Problem running 'load':
Invalid repository URI: NSBUILD
What do these errors mean ?
You're running in a directory that has a shared parent. A shared
directory is one that you've load'ed or share'd into before.
Walk up the directory hierarchy and find an ancestor that has a
'.metadata' or '.jazz3' directory in it. That directory is considered
shared.
e