CCNet to monitor Multiple folders in the SourceGear Vault

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

Moderator: SourceGear

Post Reply
sneh
Posts: 4
Joined: Wed Mar 01, 2006 10:25 am

CCNet to monitor Multiple folders in the SourceGear Vault

Post by sneh » Tue Mar 14, 2006 11:02 am

I am trying to make CCNet server monitor different folders in the Vault's $ folder.

My question is where should I place the "autoGetSource" and "applyLabel" attributes in SOURCECONTROL or SOURCECONTROLS or VAULT node. When I place them in the VAULT node(as seen below), it seems to fail.
When I place them in the SOURCECONTROL node its doesnot recognise the attributes, i.e. it detects the modifications but fails to get the latest code from Vault.

The excerpt from the ccnet.config file is as follows:

<sourcecontrol type="multi">
<sourceControls>
<vault autoGetSource="true" applyLabel="true">
<executable>C:\Program Files\SourceGear\VAULTC~2\vault.exe</executable>
<username>ccnetuser</username>
<password>ccnetpassword</password>
<host>hostname</host>
<repository>Code Repository</repository>
<folder>$/Applications/DynInsight</folder>
<ssl>false</ssl>
<useWorkingDirectory>false</useWorkingDirectory>
<workingDirectory>C:\vault\Applications\DynInsight</workingDirectory>
<timeout>3600000</timeout>
</vault>

<vault autoGetSource="true" applyLabel="true">
<executable>C:\Program Files\SourceGear\VAULTC~2\vault.exe</executable>
<username>ccnetuser</username>
<password>ccnetpassword</password>
<host>hostname</host>
<repository>Code Repository</repository>
<folder>$/Core</folder>
<ssl>false</ssl>
<useWorkingDirectory>false</useWorkingDirectory>
<workingDirectory>C:\vault\Core</workingDirectory>
<timeout>3600000</timeout>
</vault>

</sourceControls
</sourcecontrol>

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue Mar 14, 2006 2:09 pm

I assume that you're Snehal from the ccnet-user mailing list, and that you figured out what you were doing wrong. If I'm wrong, let me know.
Ian Olsen
SourceGear

Post Reply