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

Name collision

I have one stream x_main and 2 compononents comp_src & comp_lib

component has below dir structure.
comp_src/buildscripts/build.sh comp_lib/buildscripts/build.sh

when i create a workspace it shows "Name collision" and does not go to next step.

Why does it give this as the 2 directories (buildscripts) are in different component.

Thanks

0 votes



3 answers

Permanent link
I assume you are not actually getting this collision when you create a
repository workspace, but rather when you "load" that repository
workspace, right?

Many of the RTC load operations will by default load the child
directories of each component, and not create a folder for the component
itself. But you can tell it to create a folder for the component
itself, which would remove this collision.

The exact load variant you use depend on how you are doing the loading
(e.g., Eclipse GUI, Visual Studio GUI, RTC command line, RTC build
definition).

Cheers,
Geoff

On 7/8/2011 2:23 PM, mehulnp wrote:
I have one stream x_main and 2 compononents comp_src& comp_lib

component has below dir structure.
comp_src/buildscripts/build.sh comp_lib/buildscripts/build.sh

when i create a workspace it shows "Name collision" and
does not go to next step.

Why does it give this as the 2 directories (buildscripts) are in
different component.

Thanks

0 votes


Permanent link
Geoff,

That means i need to select the option "FInd and load eclipse project" which would create the component folders ?

I was selecting "browse the components to select the folders to be loaded" while loading which was givining me an error.

what is the difference between this 3 options ?
1. FInd and load eclipse project
2. browse the components to select the folders to be loaded
3.Load the root folder of the components to select the folders to be loaded

Thanks

I assume you are not actually getting this collision when you create a
repository workspace, but rather when you "load" that repository
workspace, right?

Many of the RTC load operations will by default load the child
directories of each component, and not create a folder for the component
itself. But you can tell it to create a folder for the component
itself, which would remove this collision.

The exact load variant you use depend on how you are doing the loading
(e.g., Eclipse GUI, Visual Studio GUI, RTC command line, RTC build
definition).

Cheers,
Geoff

On 7/8/2011 2:23 PM, mehulnp wrote:
I have one stream x_main and 2 compononents comp_src& comp_lib

component has below dir structure.
comp_src/buildscripts/build.sh comp_lib/buildscripts/build.sh

when i create a workspace it shows "Name collision" and
does not go to next step.

Why does it give this as the 2 directories (buildscripts) are in
different component.

Thanks

0 votes


Permanent link
Actually, the simplest (in the 3.0.1 Eclipse client) is to use the "Load
as" operation, instead of the "Load" operation.

For the other options, the best way to get a feel for what they do is to
try them out, and look in the file system for how things get loaded.

Cheers,
Geoff

On 7/11/2011 10:53 AM, mehulnp wrote:
Geoff,

That means i need to select the option "FInd and load eclipse
project" which would create the component folders ?

I was selecting "browse the components to select the folders to
be loaded" while loading which was givining me an error.

what is the difference between this 3 options ?
1. FInd and load eclipse project
2. browse the components to select the folders to be loaded
3.Load the root folder of the components to select the folders to be
loaded

Thanks

gmclemmwrote:
I assume you are not actually getting this collision when you create
a
repository workspace, but rather when you "load" that
repository
workspace, right?

Many of the RTC load operations will by default load the child
directories of each component, and not create a folder for the
component
itself. But you can tell it to create a folder for the component
itself, which would remove this collision.

The exact load variant you use depend on how you are doing the
loading
(e.g., Eclipse GUI, Visual Studio GUI, RTC command line, RTC build
definition).

Cheers,
Geoff

On 7/8/2011 2:23 PM, mehulnp wrote:
I have one stream x_main and 2 compononents comp_src&
comp_lib

component has below dir structure.
comp_src/buildscripts/build.sh comp_lib/buildscripts/build.sh

when i create a workspace it shows "Name collision" and
does not go to next step.

Why does it give this as the 2 directories (buildscripts) are in
different component.

Thanks

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: Jul 08 '11, 2:12 p.m.

Question was seen: 6,904 times

Last updated: Jul 08 '11, 2:12 p.m.

Confirmation Cancel Confirm