It's all about the answers!

Ask a question

understanding how components intersect w/folders & proje


scott herzinger (1367) | asked Apr 29 '11, 4:51 p.m.
What are the best practices when defining components that, when later loaded into a sandbox, end up in unique folders inside the sandbox root folder?

FYI I'm a relative newcomer to RTC, coming from extensive experience with CM Synergy.

I created a project area with two components. In one scenario, I accomplished the results I expected: when I look at the components' files in the repository, I see them grouped inside a containing folder that has the same name as the component, and naturally they load into a sandbox with the same organization. In another scenario, the components' files land in the repository without that containing folder, and when I load both components into a sandbox, the top-level files of each component are intermingled in the sandbox root folder.

The trouble is, I don't know exactly what I did differently in the two scenarios.

I understand how to load components such that they end up in the component-specific folders that I want, even though they are not organized that way in the repository. But I would really like to know how to ensure I get the repository organization the way I want.

Can anyone point me to documentation on the relevant concepts? For example of what doesn't help is the information on loading/unloading at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/t_scm_eclipse_load.html, which tells me "if you want to do this, select the option to do this." and if you want to do that, select the option to do that". I am looking for something that will explain the difference, behaviorally and conceptually, between this and that.

Thanks in advance,
Scott

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 30 '11, 10:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Where a particular folder goes in the repository depends on what folder
you select when you execute the "share" operation. You are given an
explorer dialog box, that lets you select which workspace, which
component, and then which folder in that component you want to share the
project. Make sure that you select the folder that you want, rather
than just defaulting to the root component of the folder, when you do
the share.

Cheers,
Geoff

On 4/29/2011 4:53 PM, sherzing wrote:
What are the best practices when defining components that, when later
loaded into a sandbox, end up in unique folders inside the sandbox
root folder?

FYI I'm a relative newcomer to RTC, coming from extensive experience
with CM Synergy.

I created a project area with two components. In one scenario, I
accomplished the results I expected: when I look at the components'
files in the repository, I see them grouped inside a containing
folder that has the same name as the component, and naturally they
load into a sandbox with the same organization. In another scenario,
the components' files land in the repository without that containing
folder, and when I load both components into a sandbox, the top-level
files of each component are intermingled in the sandbox root folder.

The trouble is, I don't know exactly what I did differently in the two
scenarios.

I understand how to load components such that they end up in the
component-specific folders that I want, even though they are not
organized that way in the repository. But I would really like to know
how to ensure I get the repository organization the way I want.

Can anyone point me to documentation on the relevant concepts? For
example of what doesn't help is the
information on loading/unloading at
http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/t_scm_eclipse_load.html,
which tells me "if you want to do
this, select the option to do
this
." and if you want to do
that
, select the option to do
that
". I am looking for something that will
explain the difference, behaviorally and conceptually, between
this and
that.

Thanks in advance,
Scott

permanent link
scott herzinger (1367) | answered May 02 '11, 10:40 a.m.
Geoff,

Thanks for the advice. Do you (or anyone else on this forum) have experience with using the CLI for the same workflow? In the scm share command

  scm share -r repo workspace component path...


should the path be the component's root folder, or should it be one level up, i.e. the folder that contains the component root?

Thanks again,
Scott

Where a particular folder goes in the repository depends on what folder
you select when you execute the "share" operation. You are given an
explorer dialog box, that lets you select which workspace, which
component, and then which folder in that component you want to share the
project. Make sure that you select the folder that you want, rather
than just defaulting to the root component of the folder, when you do
the share.

Cheers,
Geoff

Your answer


Register or 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.