Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-340

VSS Provider fails during check out when project path contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0
    • None
    • maven-scm-provider-vss
    • None
    • Windows XP, JRE 1.4.2

    Description

      VSS Provider fails during check out if project path contains a space. For example, using the following SCM URL:

      scm:vss|guest@\\someserver\somefolder|/top path

      This results in the following output:

      Executing: "c:\program files\microsoft visual studio\vss\win32\ss" Get "$/project root" -Yguest -R -I- -GWR
      Working directory: c:\temp\fiddler
      Provider message:
      The vss command failed.
      Command output:
      'c:\program' is not recognized as an internal or external command,
      operable program or batch file.
      
      java.lang.Exception: Command failed.The vss command failed.
      at com.goongo.vssscmtest.MyTest.checkResult(MyTest.java:125)
      at com.goongo.vssscmtest.MyTest.checkOut(MyTest.java:75)
      at com.goongo.vssscmtest.MyTest.main(MyTest.java:29)
      Exception in thread "main" 
      

      This appears to be due to a bug in plexus-utils-1.1. If this dependency is updated to v1.4 (or later) this error is fixed.

      Therefore, resolution is to update dependency in pom.xml of maven-scm project.

      Attachments

        Activity

          People

            olamy Olivier Lamy
            allanlang Allan Lang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: