Multiple Project in Vault

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
OlivierT
Posts: 2
Joined: Fri Sep 05, 2008 1:46 pm

Multiple Project in Vault

Post by OlivierT » Fri Sep 05, 2008 2:06 pm

We are on the move to switch from SourceSafe (finally :D ) to Vault. We imported each of our projects. We putted each project in his own repositories as recommended. However we have a project, an ASP.NET website, that have is own libraries + a shared library (a control library) that is used in multiple project. In SourceSafe there were no problem because all project were in the same database. It's not working working with Vault because the projects are not in same repo. Is there a way I could add this project to the solution without putting everything in the same repo. ?

We use Vault 4.1.2 and Vault Enhanced client.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Multiple Project in Vault

Post by Beth » Fri Sep 05, 2008 3:54 pm

There is no sharing across repositories. Any time there are projects that share resources, we recommend they be in the same repository.

Did I recommend different repositories to you for this? If so, then I'm sorry. There must have been a misunderstanding somewhere.

Each case is different for each user, but the one thing that remains the same in all cases is that sharing can only occur in one repository, and when that happens, you want those projects and their shares all in one repository. There are some users who make a copy for each repository anyway, but if all those files that are shared have to remain the same, that introduces additional work in keeping them matching.
Beth Kieler
SourceGear Technical Support

OlivierT
Posts: 2
Joined: Fri Sep 05, 2008 1:46 pm

Re: Multiple Project in Vault

Post by OlivierT » Fri Sep 12, 2008 8:36 am

In the Vault help the a section named Using Vault / Working with directory and says the following...

In Vault, a repository stores a logical grouping of files. You can have multiple repositories per server. It is recommended that you keep unrelated projects in separate repositories.

Also, a quick & dirty way to solve my problem would be to include every project in a single repository. Is there a way to merge repositories? They are imported from VSS and it took a while and we already committed changes in Vault so we cannot import again from Vault.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Multiple Project in Vault

Post by lbauer » Fri Sep 12, 2008 9:50 am

Did you mean that you can't import again from VSS? I can understand a problem with that.

Vault does have a Folder export/import tool that would allow you to export folders from one repository and import them into another. That might help you. The Export/Import tool is in the Vault GUI client directory. An export/import operation may take a while, as it imports all of the file history as well as the files.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply