It's all about the answers!

Ask a question

distinguish two components with same name on the server


Simon Tong (1653) | asked Mar 30 '11, 8:20 a.m.
Hello,

Here is my problem :
Admin for project area A created component "Comp1".
Admin for project area B created component "Comp1".

When creating a stream in project area A, we add components. We can choose "Comp1". However, how can we distinguish the two "Comp1" except looking at the author and the creation date ??

Shouldn't RTC forbide the creation a component whose name already exist ?
If we make a comparison with Clearcase / UCM, in UCM, it is impossible to create two UCM components with identical names within the same project VOB.
Thanks for your help

2 answers



permanent link
Michael Valenta (3.7k3) | answered Mar 30 '11, 9:12 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
There is an Advanced Property that you can set from the server admin web pages named "Encourage component names to be unique. " that, when set to true, will discourage the creation of multiple components with the same name. I believe this was added in 3.0 but it may have been added to 2.0.0.2 as well

permanent link
Tim Mok (6.6k38) | answered Mar 30 '11, 9:19 a.m.
JAZZ DEVELOPER
Hello,

Here is my problem :
Admin for project area A created component "Comp1".
Admin for project area B created component "Comp1".

When creating a stream in project area A, we add components. We can choose "Comp1". However, how can we distinguish the two "Comp1" except looking at the author and the creation date ??

Shouldn't RTC forbide the creation a component whose name already exist ?
If we make a comparison with Clearcase / UCM, in UCM, it is impossible to create two UCM components with identical names within the same project VOB.
Thanks for your help
The components have unique IDs that are used to distinguish between two components with the same name. However, they are not meant to be human readable. Looking at the owner, the baselines, or which streams include it in its configuration will help determine which component it is. It would be best to use different names though.

If you want to enforce unique component names, you can turn it on in the server settings. It's in the admin web UI under advanced properties.

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.