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

Load collision in CLI when re-loading an item a directory

component=Test

item-repository=sqltest/select1    (where select1 contains directories s1,s2,s3)

I load the item in a local workspace successfully (using loadrules).  

    <itemLoadRule>

        <component name="Test" />

        <item repositoryPath="/sqltest/select1" />

        <sandboxRelativePath pathPrefix="/sql" />

    </itemLoadRule>

Directory "sql/select1" is created in my local workspace and contains  s1, s2, s3

I then want to reload "select1/s1" using this loadrule and the -f option, 

    <itemLoadRule>

        <component name="Test" />

        <item repositoryPath="/sqltest/select1/s1" />

        <sandboxRelativePath pathPrefix="/sql/select1" />

    </itemLoadRule>

but get the error

          /sql/select1

          Problem running 'load'.

         Load could not complete due to collisions. Choose a different destination for the load

I can reload "select1" with the -f option, but not the subdir "select1/s1"

The same error occurs in reverse -  load "select1/s1"  and then try to load the full "select1" directory

Why won't the -f option allow the overwrite?  Is there a way to do this using cli and loadrules?

0 votes



2 answers

Permanent link
Use:  lscm load  -r local -i --all BuildWorkspace 

0 votes


Permanent link
The collision is caused by the fact that you have already loaded folder sqltest/select1 into the sandbox under /sql and attempt to load a sqltest/select1/s1 into a folder underneath /sql/select1. RTC SCM does not currently allow you to next share roots in the sandbox.

The first load rule should have loaded the s1 folder into the sandbox, why not use that? If you want to load only the subfolder then why not adjust the first load rule to load the s1 folder and try it on a fresh sandbox?

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
× 12,019

Question asked: May 23 '13, 12:20 p.m.

Question was seen: 5,564 times

Last updated: Nov 27 '15, 10:22 a.m.

Confirmation Cancel Confirm