Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vault experience
Message
From
24/01/2011 13:37:55
 
 
To
24/01/2011 12:25:31
General information
Forum:
ASP.NET
Category:
Source Safe Control
Miscellaneous
Thread ID:
01497214
Message ID:
01497235
Views:
50
>Hi TC,
>
>I am writing to pick your brain regarding VFP integration with Vault. Hank Fay has confirmed that the directory structure in file system has to be replicated within Vault before attempting to integrate VFP project with Vault in order to have a succesful integration.
>
>The best approach (for VFP developers) would seem to be to write a prg that obtains the required directory tree from a pjx file and the current folder structure in the Vault repository and then make calls to the Vault API to add or delete folders to repository.
>
>There is a very good article in http://support.sourcegear.com/viewtopic.php?t=1180 that includes source code for a .NET interface to access Vault API via COM and suggests writing a VB project to test access. If all else fails I'll have to do that which entails learning a number of things. Perhaps that learning is good for me, but I'd prefer to stand in the shoulder of gigants. If that method was good enough for Newton, it is good enough for me :) Do you have any suggestions?
>
>TIA,
>
>Alex

We use TFS for .net projects and Vault for VFP projects. I don't see why you couldn't traverse a vfp project directory with .net and call the api to replicate it in Vault. Sounds like a reasonable plan to me. However, I would find it amazing if it wasn't done already!

It depends on what version of Vault you are using as to whether you can use .net or have to go back to vb6....

vb.net sample code here:

a few more:
http://support2.sourcegear.com/viewtopic.php?f=5&t=1784
http://support.sourcegear.com/viewtopic.php?f=31&t=8020
http://support.sourcegear.com/viewtopic.php?f=31&t=12274
http://support.sourcegear.com/viewtopic.php?f=31&t=9628
http://weblogs.asp.net/jeremy_sheeley/archive/2004/02/18/75860.aspx

I like the idea of using the api to do it for you. If you plan on using vault long-term, I would go that route. I use TFS and Vault on a regular basis but frankly new projects are always added in TFS (.net) not Vault (vfp) so there's not much sense in my pursuing it... (sorry the first link came from an email I got on another product)
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform