Newbie Question

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

Moderator: SourceGear

Post Reply
malibu82
Posts: 3
Joined: Tue May 03, 2005 6:21 am
Location: Buffalo, NY
Contact:

Newbie Question

Post by malibu82 » Tue May 03, 2005 6:28 am

Hello, I'm new to the concept of source-code management. The team I'm looking to purchase this for is a group of web developers, all three of whom have no experience with this concept, either.

Everything makes sense to me so far - I've created a repository, uploaded my files, checked out, edited, and checked files back in.

My confusion is: why aren't the changes to the file reflected on the web server? I can bring up different versions in the Vault client with no problem - but the new changes never seem to make their way to the web server.

Thanks in advance for any help you can provide.

Jeff Tindall
Posts: 6
Joined: Mon Apr 04, 2005 3:03 pm
Location: Marietta, GA
Contact:

Post by Jeff Tindall » Tue May 03, 2005 7:38 am

I'm not sure if it is this simple, but are you getting the latest from source control to your webserver?

Vault is storing your code and revisions in a database, not on your web server. In order for your web server to be updated with the latest code, it would need to retrieve the latest code from Vault. To automate this (as it sounds like that is what you are interested in doing), you may want to check out using NAnt with a scheduled task or something similar (CruiseControl?).

Hope this helps,
~Jeff

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

Post by lbauer » Tue May 03, 2005 7:43 am

If the web server is on the same LAN as the Vault Server, you can also use Shadow Folders. A shadow folder contains the latest versions of files from specific folders in your database. It's updated whenever the files in the shadowed folder are updated.

Shadow folders are configured in the Admin Tool under Repository Options. See Admin Tool Help for more info.
Linda Bauer
SourceGear
Technical Support Manager

malibu82
Posts: 3
Joined: Tue May 03, 2005 6:21 am
Location: Buffalo, NY
Contact:

Post by malibu82 » Tue May 03, 2005 12:22 pm

lbauer wrote:If the web server is on the same LAN as the Vault Server, you can also use Shadow Folders. A shadow folder contains the latest versions of files from specific folders in your database. It's updated whenever the files in the shadowed folder are updated.

Shadow folders are configured in the Admin Tool under Repository Options. See Admin Tool Help for more info.
Thanks for the tip - it makes sense to me. I attempted doing this and am now receiving an "Invalid Path Error" that states "The path you specified is not accessible from the server machine. Association cannot be made."

I received this error even after giving up on the network share and trying to create a shadow folder on the desktop of the local machine.

I searched the Knowledge Base but wasn't able to find anything. Any thoughts? Thanks again.

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

Post by lbauer » Tue May 03, 2005 12:46 pm

Is Vault installed on Win2003 Server?

If so, this takes special configuration:

http://support.sourcegear.com/viewtopic.php?t=536

This KB article describes the requirements for the custom account, plus shadow folders on different machine than the Vault Server machine:

http://support.sourcegear.com/viewtopic.php?t=188
Linda Bauer
SourceGear
Technical Support Manager

Guest

Post by Guest » Wed May 04, 2005 6:58 am

lbauer wrote:Is Vault installed on Win2003 Server?

If so, this takes special configuration:

http://support.sourcegear.com/viewtopic.php?t=536

This KB article describes the requirements for the custom account, plus shadow folders on different machine than the Vault Server machine:

http://support.sourcegear.com/viewtopic.php?t=188
Thank you for the second link, it was in fact a permissions issue.

malibu82
Posts: 3
Joined: Tue May 03, 2005 6:21 am
Location: Buffalo, NY
Contact:

Post by malibu82 » Wed May 04, 2005 6:59 am

me ^^^

Post Reply