Avoiding "Name collisions" when trying to 'load' new repository
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
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.
You can avoid by creating a new sandbox location for eg: using new eclipse workspace and load it or you can unload it completely and reload the sandbox .
Regards,
Arun.
Comments
No. This was a completely new clean environment. I had just installed the RTC rich client so there were no existing sandboxes or anything. I had to "LOad as Eclipse project" even though this is not an Eclipse project. I can not just "load folders", even though that is what makes sense and is what I want to do.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 24 '15, 10:04 p.m.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?