I
had to modify "draco.core\scc\VaultRepository.cs" in order to get the
Draco.NET service to set the working folders for projects.
I have to set
working folders so that I can commit changes back into SourceGear Vault after a
build has completed.
Here are my
changes:
public void
GetSource(string workingDirectory)
{
string args = String.Format( "\"{0}\" \"{1}\" ", folderPath, workingDirectory);
string cmd = GetVaultCommand( "SETWORKINGFOLDER", args );
StartInfo startInfo = new StartInfo( this.vaultExeFullName, cmd, workingDirectory );
{
string args = String.Format( "\"{0}\" \"{1}\" ", folderPath, workingDirectory);
string cmd = GetVaultCommand( "SETWORKINGFOLDER", args );
StartInfo startInfo = new StartInfo( this.vaultExeFullName, cmd, workingDirectory );
processRunner.Run(startInfo);
args = String.Format( "-makewritable -setfiletime modification -merge overwrite
\"{0}\" ",
folderPath);
cmd = GetVaultCommand( "GET", args );
startInfo = new StartInfo( this.vaultExeFullName, cmd, workingDirectory );
cmd = GetVaultCommand( "GET", args );
startInfo = new StartInfo( this.vaultExeFullName, cmd, workingDirectory );
processRunner.Run(startInfo);
}
}
It would be great if
these changes can be included in the next build.
Thank
you.
-Rami