Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

understanding how components intersect w/folders & proje

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
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

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

Question asked: Apr 29 '11, 4:51 p.m.

Question was seen: 4,260 times

Last updated: Apr 29 '11, 4:51 p.m.

Confirmation Cancel Confirm