#22 Vault scc module errors if spaces in folderpath

1.6.0.0
closed-fixed
9
2004-08-19
2004-08-19
No

[Submitted on behalf of Rami AbuGhazaleh From Draco
Users List]

Draco.NET 1.6.0.0: Bug Report

<build><vault><folderpath> does not support a path
with spaces

When vault.exe is run, Draco should put the %
folderpath% (repositorypath) in the command line
between quotation marks if there is a space is in the
path.

I also attempted to specify the following configuration:
<folderpath>"$/My Path"</folderpath>
But ran into a Draco exception:

VaultException: Invalid repository path: "$/My Path"
at
Draco.Core.Scc.VaultRepository.ValidateRepositoryPath
(String s)
at Draco.Core.Scc.VaultRepository..ctor
(ProcessRunner processRunner, String url, String user,
String password, String repository, String folderPath)

at Draco.Core.Scc.RepositoryFactory.CreateRepository
(ProcessRunner processRunner, DracoBuild build)
at Draco.Core.Runtime.BuildRunner.GetModifications
(DateTime earliestModificationTime)
at Draco.Core.Runtime.BuildRunner.CheckForChanges
(BuildType buildType, Boolean& changesSinceLastBuild)
at Draco.Core.Runtime.BuildRunner.Start(BuildType
buildType)

Thank you.
-Rami AbuGhazaleh

Discussion

  • Michael Ferrante

    • status: open --> open-fixed
     
  • Michael Ferrante

    Logged In: YES
    user_id=956382

    Fixed this in 1.6.1.0. Quoted escaped all arguments to Vault.
    Also found some other arguments in DevEnv build tool that
    were not quoted escaped, escaped those arguments there.

     
  • Michael Ferrante

    • status: open-fixed --> closed-fixed
     
  • Michael Ferrante

    Logged In: YES
    user_id=956382

    This is releated to issue 1012499 that was later filed by Rami.
    Thanks for the reports.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks