Repositories

L

Larry Waibel

I have a component that needs files from a number of different locations in
our ClearCase directory structure. I don't want to copy all the files from
the different places into a single one just so CDM can turn around and make
another copy of them in a repository and then when the files are checked in
with changes have to do it all again. How do I make it so that either 1) A
repository gets files from different locations or 2) A component uses
multiple repositories?
 
S

Slobodan Brcin \(eMVP\)

Larry,

1. You must do that manualy since repository is one flat folder and there is
no MS tool. You can use tools for multi file rename so that you add them
prefix depending on original folder that you had them in.
2. You make repository set and associate all your repositories to this set
so that they belong to it. Then you can use rep set instead of one
repository.

Regards,
Slobodan
 
K

KM

Jus to add a bit to the reply...

There is a way to make a custom import of a component that will have more control over the component Repository(ies) structure and
you can have any custom repository locations.
However, to implement such you will need to create and add a CMI script to the component to utilize OnImportRepository event (make
your own handler) of DCMIEvents disp interface which is fired during CMI.ImportCarrier so that the application (CD) can copy
repository files to their destination directory.

Hopefully the CDM will call into the script.

KM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top