Avoiding "Name collisions" when trying to 'load' new repository
![]()
I have an existing reposittory, which I use all the time.
I move to a nbew, clean machine. I install RTC 4, create the repository, and try to 'load' it. I get error because different components contain similar files in their individual sub-directories, ie. tm1clients - build - proc tm1server - build - proc This loads fine on my existing machine, but on a "new" machine it will not load because of "Name collision" errors: Name collisions: 'tm1clients/build', 'tm1common/build', 'tm1server/build', 'tm1web/build' How do I get this loaded? |
2 answers
![]()
As all components contain "build" directory, when you load all of the components you need to create component directory on top of "build" sub-directory. If you are using "scm load" command line, you can use "--include-root" argument.
Comments Either use a different load option i.e. use the load root folders of components as Eclipse project, or refactor your structure. RTC SCM due to how Eclipse works, can not load Eclipse projects with the same name into a repository workspace. And if you don't load the component as Eclipse project in your case it is not even Eclipse, it is just folders that are already there. So your component/project structure is not very well laid out. Pleas see https://jazz.net/library/article/1000 for how this should be done. (Unique project names).
The source directories are indeed "just a bunch of folders" since they are not an Eclipse project. Rather, we must use RTC for source control, but this is a large C++ product, and has nothing to do with Eclipse. I can not just select folders and load, since RTC seems to be so Eclipse-centric. I must choose the "Load as Eclipse project" (which does really make any sense as this is on an Eclipse project), which loads a bunch of folders I do not want, and then un-load these folders.
|
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.
Comments
There are many clients load (e.g., scm command line, Eclipse GUI, build engine), and many options for the load operation. Which client and which options were you using?