Is it possible to load component hierarchies as hierarchical directories in a Sandbox?
I have a project area that has a desire to use hierarchical components due to their concept of a master component with sub-components, including some shared sub-components. At the surface RTC's support for hierarchical components seems to be the right fit for them. However, in testing this capability I seem to be running into a major roadblock. I have not been able to find a way to load the component hierarchy as a folder hierarchy in the sandbox (at least not in Eclipse). We are using RTC 6.0.3 and the project uses Eclipse for their development IDE. Is there a way to have the component on disk match the hierarchical structure in RTC? I found that there is an Enhancement request out there to support automatic loading as a directory hierarchy. Also, I have seen mention of "nested shares" in RTC as of 6.0.1. I haven't been able to get this to work so either I don't understand what is meant by this or I am doing something wrong. Is there a way to load a set of components as a nested hierarchy in the sandbox as of 6.0.3, whether the components are organized as a component hierachy in RTC?
Thanks,
Accepted answer
I believe the easiest way to achieve this is to select a component as the top level component of your hierarchy, and then create a load rule file in that top level component. Then any time you adjust the hierarchy under that top level component, make the corresponding change to where the nested components are loaded, create a new version of that load rule file, and deliver it to the stream. If you are using that top level component in your workspace, when you load files from that workspace into your sandbox, select that load rule file (from the repository).