It's all about the answers!

Ask a question

How can I get a fully qualified path from scm list change in a workspace loaded with a load rule?


Jack Galan (1111) | asked Sep 24 '13, 1:12 p.m.
edited Sep 24 '13, 5:44 p.m. by Millard Ellingsworth (2.5k12431)

When I run scm list change 1521 on a workspace that was loaded using a load rule and multiple components, the path for the element is <unresolved>.  When I load the stream without a load rule and only one component, the path is fully qualified.  How can I get a fully qualified path in a workspace created with a load rule?

[fad]/opt/IBM/rtc_store/jgalan/last_test: scm.sh list changes 1521         
Change sets:
  (1521) ---$ John E Galan "Test for Snapshot."
    Component: (1009) "Core_pay"
    Modified: 20-Sep-2013 11:01 AM
    Changes:
      ---c- (1522) /inc/cob/arblamsg
      ---c- (1523) /install/job/99p2_reprint.sh
      ---c- (1524) /support/src/cob/addpi.cob


[fad]/opt/IBM/rtc_store/jgalan/q1_wardev: scm.sh list changes 1521
Change sets:
  (1521) ---$ John E Galan "Test for Snapshot."
    Component: (1009) "Core_pay"
    Modified: 20-Sep-2013 11:01 AM
    Changes:
      ---c- (1522) /<unresolved>/cob/arblamsg
      ---c- (1523) /<unresolved>/job/99p2_reprint.sh
      ---c- (1524) /<unresolved>/src/cob/addpi.cob


Comments
Arne Bister commented Sep 25 '13, 10:08 a.m.
JAZZ DEVELOPER

Jack,
Could you please paste the loadrules you are using, too?

best,
Arne


Jack Galan commented Sep 25 '13, 10:36 a.m.

Arne:

Here's the loadrule, in two parts:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--Generated: 2013-05-30 13.31.53-->
<scm:sourceControlLoadRule eclipseProjectOptions="import" version="1" xmlns:scm="http://com.ibm.team.scm">
    <parentLoadRule>
        <component itemId="_zKPkUZfUEeKwqIqNvn7QFQ"/>
        <!-- <component name="Core_pay" /> -->
        <parentFolder repositoryPath="/"/>
        <sandboxRelativePath pathPrefix="/opt/appl/pay"/>
    </parentLoadRule>


Jack Galan commented Sep 25 '13, 10:37 a.m.

    <parentLoadRule>  
        <component itemId="_NfMhkKIXEeKuMOzgqWmk2w"/>  
       <!--  <component name="Core_spa" /> -->  
        <parentFolder repositoryPath="/"/>  
        <sandboxRelativePath pathPrefix="/opt/appl/spa"/>  
    </parentLoadRule>  
    <parentLoadRule>
        <component itemId="_cqBXEMlVEeK1dOM7RQZ3pg"/>
        <!-- <component name="Core_root" /> -->
        <parentFolder repositoryPath="/"/>
        <sandboxRelativePath pathPrefix="/"/>
    </parentLoadRule>
</scm:sourceControlLoadRule>



Eduardo Bello commented Jul 15 '14, 5:27 p.m.

I'm having this error when using "scm list changes" .


Did you found a solution?

One answer



permanent link
Ricardo Fonseca (11) | answered Aug 03 '15, 4:27 p.m.
   Hi Eduardo.
   Not sure if this will help you:
_________________

   I got the <unresolved> when I ran
      lscm --show-alias y --show-uuid y list changes --repository-uri ${repURI} _Yq7ywDI7EeWKm6unNTAxLg _bBL4cDI7EeWKm6unNTAxLg
Change sets:
  (1084:_bBL4cDI7EeWKm6unNTAxLg) ----$ Procurement HUB "<No comment>"
    Component: (1092:_L2dasDI7EeWKm6unNTAxLg) "workflows-source"
    Modified: 27-Jul-2015 08:27 AM
    Changes:
      ---c- (1162:_MTQrcDI7EeW2aqQAsoSPLw) \<unresolved>\file01-workflows
    Work items:
      (1094:_OKhPYDI4EeW2aqQAsoSPLw) 63318 "rtcSourceControl-task003-001-taskWithCode"
  (1079:_Yq7ywDI7EeWKm6unNTAxLg) ----$ Procurement HUB "<No comment>"
    Component: (1095:_PgSBEDI7EeWKm6unNTAxLg) "WTX"
    Modified: 24-Jul-2015 04:52 PM
    Changes:
      ---c- (1164:_QE_QoDI7EeW2aqQAsoSPLw) \<unresolved>\file01-wtx
    Work items:
      (1096:_xPiRUDI4EeW2aqQAsoSPLw) 63320 "rtcSourceControl-task002-002-001-subTaskWithCodeToBeDeployed"

_________________

   If I include the stream name (probably it would work as well if including a workspace name), it worked as I needed:

lscm --show-alias y --show-uuid y list changes --repository-uri ${repURI} --workspace PrHub_build  _Yq7ywDI7EeWKm6unNTAxLg _bBL4cDI7EeWKm6unNTAxLg
Change sets:
  (1084:_bBL4cDI7EeWKm6unNTAxLg) ----$ Procurement HUB "<No comment>"
    Component: (1092:_L2dasDI7EeWKm6unNTAxLg) "workflows-source"
    Modified: 27-Jul-2015 08:27 AM
    Changes:
      ---c- (1162:_MTQrcDI7EeW2aqQAsoSPLw) \workflows-source\files\file01-workflows
    Work items:
      (1094:_OKhPYDI4EeW2aqQAsoSPLw) 63318 "rtcSourceControl-task003-001-taskWithCode"
  (1079:_Yq7ywDI7EeWKm6unNTAxLg) ----$ Procurement HUB "<No comment>"
    Component: (1095:_PgSBEDI7EeWKm6unNTAxLg) "WTX"
    Modified: 24-Jul-2015 04:52 PM
    Changes:
      ---c- (1164:_QE_QoDI7EeW2aqQAsoSPLw) \WTX\files\file01-wtx
    Work items:
      (1096:_xPiRUDI4EeW2aqQAsoSPLw) 63320 "rtcSourceControl-task002-002-001-subTaskWithCodeToBeDeployed"


Your answer


Register or to post your answer.