rtc 4 scm --dir option no longer setting sandbox?
Rick Patterson (40●1●4●8)
| asked Jul 08 '13, 10:56 a.m.
JAZZ DEVELOPER edited Jul 08 '13, 11:12 a.m.
Hello.
previous to rtc 4 we used scm load --dir <path_to_sandbox> --remote-rules dir/x.loadrules -t <path to fetch files> The .jazz5 & .metadata files would be created in <path_to_sandbox>, which was not the current directory. The files would be fetched in -t <path to fetch files> I am trying to use rtc 4 scm and new Xml format loadrules. And on Windows Server 2007, used the 64-bit package. the -t <path to fetch files> gives an error when used with --remote-rules, as it has now been replaced by <sandboxRelativePath pathPrefix="some_dir"/> in the XML loadrules file, I generated the rtc4 loadrtules files using the client, added that entry, and removed the -t option, that seems to work okay. But the --dir option no longer seems to set the sandbox root, the .jazz5 & .metadata files are getting created in the current directory, as opposed to the one specified by --dir. Is this intentional? if not, how to get the sandbox root specified on scm commandline? The help for scm commandline in rtc 4 still says the following:
am in curdir: > D:/x/y/z >scm -u y -a n --non-interactive --config "c://rtc_login" load -r https://<repos>:9502/ccm/ <workspace> --dir D:/x/y/z/src--force --remote-rules loadrules/build.loadrule <component> |
Accepted answer
Hi Rick,
I believe using the short option -d instead of the long option --dir should set the sandbox root. Cheers, Sridevi RTC SCM CLI Rick Patterson selected this answer as the correct answer
|
One other answer
I believe this will be fixed in 4.0.4. Here's a jazz.net work item:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/263772
|
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.