It's all about the answers!

Ask a question

Name collision


mehul Prajapati (18125554) | asked Jul 08 '11, 2:12 p.m.
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

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 12 '11, 10:30 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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


permanent link
mehul Prajapati (18125554) | answered Jul 11 '11, 10:47 a.m.
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

permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 08 '11, 8:55 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

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.