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

Adding Components advantages & disadvantages

Hi,

I had one default component created automatically with the creation of a stream and I have loaded my sample project in that default component and I am building my project successfully.

Q. Why do we need to add more than one components? (As I can achieve my work from one component) OR In which cases I need to add more than one components and would be the advantages of it?

Q. Is there any additional steps in build definition, If I have to build more than one components for a particular solution/project? (I am able to build project successfully with one component)

Note: I am using Visual Studio Client

Regards,
Muhammad Moid

0 votes



3 answers

Permanent link
Some reasons to have more than one component.
- If different sets of files need different read access ... the easiest way to arrange this is to have the files with different read access stored in different components.
- If you want to be able to select a different baseline of a particular set of files, while leaving the rest of the files unchanged.   Having that set of files be in a separate component makes this easy.
- If you want to make it easy to load one set of files without loading the other files.   Putting that set of files into its own component makes this easy.

Build definitions with multiple components are no harder than those with a single component.

0 votes

Comments

Thanks Geoffrey.

I got my answer for question #1. Regarding build definition, still confused with the mechanism of build engine for multiple components.

Is there anything in build definition that differs in multiple components build as compare to single component build?



Permanent link
Please see https://en.wikipedia.org/wiki/Component-based_software_engineering

And note that as Geoff said, if you have multiple components, you don't necessary see them. Please see the JKE Banking Example that ships with the product.

0 votes


Permanent link
Here's also a related topic that compares creating few large components versus many small components http://www-01.ibm.com/support/knowledgecenter/SSYMRC_6.0.0/com.ibm.team.scm.doc/topics/t_component_bestpractices.html

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
× 12,014

Question asked: Oct 26 '15, 9:28 a.m.

Question was seen: 2,332 times

Last updated: Oct 30 '15, 4:58 p.m.

Related questions
Confirmation Cancel Confirm