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

gremlin.bat doesn't support paths containing spaces

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.2.7, 3.3.1
    • Component/s: console
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: