Hello,
I'm running SourceVault Server version 4.1.1.18060 for on Microsoft Windows Server 2003 R2. I'm wondering how you setup SourceVault to automatically export files to a folder when someone commits files. The intended purpose is to make sure the web scripting files (asp, php, etc) on our test website are always as up to date as the SourceVault repository.
I don't want to want to run a job every night (or every minute!) - I want this to occur automatically when someone commits files.
1) How do I do that? I'm presuming that to be polite the script may also need to stop IIS, export the files and then start IIS (to avoid problems with file locks)
2) Are there any issues with exporting in this way to a share on another computer on a windows domain?
Thanks,
pi
export files to folder on commit (to test web scripting)
Moderator: SourceGear
-
- Posts: 1
- Joined: Fri Jan 09, 2009 11:44 am
Re: export files to folder on commit (to test web scripting)
The functionality you are looking for already exists in Vault. It's called Shadow Folders. Shadow folders are configured in the Vault admin Web client under Source Control Repositories-> (Repository Name)-> Shadow Folders. A shadow folder is a local folder that contains the contents of a repository folder, and is kept up-to-date in the shadow folder by the Vault server as changes are applied to repository folder.
For documentation, see Vault Admin Web Client help-> Source Control Repositories-> Shadow Folders.
For documentation, see Vault Admin Web Client help-> Source Control Repositories-> Shadow Folders.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager