In RTC 4.0.3 how do I load a component beneath another component.
I have 5 components. in my sandbox one of these components must load below another.
Example: Component Common_Code_II must appear as a folder under another component named Src.
In the filesystem one would see this:
./Development
./Release
./SQLServer
./Src/Common_Code_II
All five of these folders are components.
I have the following loadrule file that I thought should work. However I get messages that /Src and /Common_Code_II are no longer in components Src and Common_Code_II and cannot be loaded into the sandbox.
loadrule:
<?xml version="1.0" encoding="UTF-8"?><!--Built from the sandbox "D:\RTC_AXCELIS\ws\import" and the workspace "OXE_Main_Workspace"--><!--Generated: 2013-08-01 14.13.36--><scm:sourceControlLoadRule xmlns:scm="http://com.ibm.team.scm" eclipseProjectOptions="import" version="1">
<itemLoadRule alternateName="SQLServer">
<component name="SQLServer"/>
<!-- <component itemId="_5bPRsPrDEeKtHIO8IoHUbA" /> -->
<item repositoryPath="/"/>
<!-- <item itemType="folder" itemId="_5bPRtPrDEeKtHIO8IoHUbA" /> -->
</itemLoadRule>
<itemLoadRule alternateName="Development">
<component name="Development"/>
<!-- <component itemId="_v6cQ4PrDEeKtHIO8IoHUbA" /> -->
<item repositoryPath="/"/>
<!-- <item itemType="folder" itemId="_v6cQ5PrDEeKtHIO8IoHUbA" /> -->
</itemLoadRule>
<itemLoadRule alternateName="Release">
<component name="Release"/>
<!-- <component itemId="_2HgQEPrDEeKtHIO8IoHUbA" /> -->
<item repositoryPath="/"/>
<!-- <item itemType="folder" itemId="_2HgQFPrDEeKtHIO8IoHUbA" /> -->
</itemLoadRule>
<parentLoadRule>
<component name="Src"/>
<parentFolder repositoryPath="/Src"/>
<sandboxRelativePath pathPrefix = "/Src/"/>
</parentLoadRule>
<parentLoadRule>
<component name="Common_Code_II"/>
<parentFolder repositoryPath="/Common_Code_II/"/>
<sandboxRelativePath pathPrefix="/Src/Common_Code_II"/>
</parentLoadRule>
</scm:sourceControlLoadRule>
Any help would be appreciated.
Phil
2 answers
Currently, I believe you cannot load a component below another component. Work item Allow files/folder from one component to be loaded into a folder of a different component (164956) requests that you be able to do so. Please feel free to add a comment to that work item indicating your interest/support.
Comments
showing 5 of 7
show 2 more comments
Phil ,
In the following article see the section, "Loading into a specific folder structure"
https://jazz.net/library/article/1016
Let us know if this helps.
In the RFE, the team that had openned it got around the constraint by using links. Is this something you would be interested in investigating if the above article does not provide a suitable work around.
In the following article see the section, "Loading into a specific folder structure"
https://jazz.net/library/article/1016
Let us know if this helps.
In the RFE, the team that had openned it got around the constraint by using links. Is this something you would be interested in investigating if the above article does not provide a suitable work around.