Hi,
I'm trying to get a project which will simply update the ccnet.config when it's changed in the repo. The documentation seems to indicate that I can get the source into a folder which is not a working copy, which is wha I want since nothing will every be checked in for this location, but it doesn't seem to work. Also, is there anyway to get just one file? The <folder /> node always wants a folder, but in this case I just need one file.
Thanks
Andy
<project name="CCNet.config - Configuration Update">
<workingDirectory>d:\BuildServer\</workingDirectory>
<artifactDirectory>d:\BuildServer\Artifacts</artifactDirectory>
<state type="state">
<directory>D:\BuildServer\State</directory>
</state>
<triggers>
<intervalTrigger name="continuous" seconds="30" initialSeconds="30" />
</triggers>
<sourcecontrol type="vaultproplugin" autoGetSource="true" applyLabel="false">
<username>user</username>
<password>pass</password>
<host>vault.mydowmain.com</host>
<repository>MyRepo</repository>
<folder>$/build_config</folder> <!-- Would like this to support $/build_config/ccnet.config -->
<ssl>true</ssl>
<useWorkingDirectory>true</useWorkingDirectory> <!-- Seems like false shoudl wor, but it doesn't -->
<workingDirectory>.</workingDirectory>
<deleteItemsThatAreNotInTheRepository>false</deleteItemsThatAreNotInTheRepository>
</sourcecontrol>
</project>
System.Exception: $/build_config has no working folder set.
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultProClient.GetVersion(String repositoryFolderPath, String workingDir, Int64 folderVersion, Boolean useWorkingDir, Boolean deleteItemsThatAreNotInTheRepository)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultProVaultSourceControl.GetSource(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
CruiseControl.Net - Get without using working directory
Re: CruiseControl.Net - Get without using working directory
Try setting UseWorkingFolder to false. Then put the full path to the CCNET directory as the working directory.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: CruiseControl.Net - Get without using working directory
Something I did got it working, even when I set the useWorkingDirectory to false. Not exactly sure what.
Thanks!
Andy
Thanks!
Andy
Re: CruiseControl.Net - Get without using working directory
Thank you for the update.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support