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

How should I organize files into components in Jazz source control?

We are new to RTC and our code is currently not under any source control.  Is it a bad idea to have each file (we have about 160 files) assigned to its own component?  It seems there would be a bit of setup work in the beginning but then we'd be able to assign each file a baseline rather than groups of files.  I don't want to get bit down the road by something that I might not be considering.  Thanks!

0 votes

Comments

I edited the title of the question to better reflect what you were asking.



3 answers

Permanent link
Components are intended to group files that are logically related. Changes applied to a component (by delivering or discarding change sets) will effect all of the files simultaneously, so logically dependent files are modified atomically. 

I don't know the specifics of your case, but I would lean towards putting the files into a small number of components, preferably with some kind of logical grouping: ie, documentation, source, data files, etc. 

1 vote


Permanent link
160 components with a single file in each one sounds like a nightmare to me.

My project is a major website (jazz.net) with thousands of files and several distinct Eclipse projects, and we use a single component. We could easily go to three or four, but it has hardly been a problem.

1 vote


Permanent link
Components should be at the granularity that they need to change or be consumed.   Decide what your downstream customers need in terms of granularity, and see if it works for how you produce it. 

The SCM piece of Rational Team Concert spans 3 components.  Some teams create a new component for every major significant capability.  Its really in the eye of the beholder.  

If you make a decision now, you can revisit later by consolidating/dividing components using "Move in repository" actions in the Eclipse/VS client or "scm move" command.  

Hope this helps, 
JohnC

1 vote

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
× 1,202

Question asked: Jun 28 '12, 1:42 p.m.

Question was seen: 5,448 times

Last updated: Jul 31 '12, 11:52 a.m.

Confirmation Cancel Confirm