Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1771

gremlin.bat doesn't support paths containing spaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.3.0
    • 3.2.7, 3.3.1
    • console
    • None
    • Windows operating system

    Description

      If you copy the TinkerPop Gremlin Console to the folder

      C:\Program Files\Apache TinkerPop
      

      then it would be impossible to start the console with the gremlin.bat file provided with the solution.

      The issue is that the space of the folder name will not be correctly handled when defining the CLASSPATH.

      It's possible to easily fix this issue by replacing the line

      java %JAVA_OPTIONS% %JAVA_ARGS% -cp %LIBDIR%\*;%EXTDIR%; org.apache.tinkerpop.gremlin.console.Console %*
      

      by

      java %JAVA_OPTIONS% %JAVA_ARGS% -cp "%LIBDIR%\*;%EXTDIR%;" org.apache.tinkerpop.gremlin.console.Console %*
      

      (the value provided for the -cp argument must be surrounded by double quotes).

      Attachments

        Activity

          People

            rdale Robert Dale
            Seddryck Cédric L. Charlier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: