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

gremlin.sh does not work correctly under Cygwin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: console
    • Labels:
      None

      Description

      On my machine (Windows 10), I have a Cygwin setup. Attempting to execute gremlin.sh to launch the console errors out. gremlin.bat under cmd runs fine, so I have the general prerequisites (Java, etc.).

      I have partially patched out the shell script (modified off of 3.3.0 attached) and it no longer errors out (I initially received issues around CP setting and absolute paths). The big issues I identified were inconsistent usage of the separate classpath separator on Cygwin (; vs. and that absolute paths need to be translated when running under Cygwin.

      Something is still broken, though, as I cannot use the shell after it starts up (note that this trivial example works fine in cmd):

      gremlin> :plugin list
      :plugin list
      ==>tinkerpop.server
      ==>tinkerpop.gephi
      ==>tinkerpop.utilities
      ==>tinkerpop.sugar
      ==>tinkerpop.credentials
      ==>tinkerpop.hadoop
      ==>tinkerpop.tinkergraph
      gremlin>  g = TinkerFactory.createModern()
       g = TinkerFactory.createModern()
      No such property: TinkerFactory for class: groovysh_evaluate
      Type ':help' or ':h' for help.
      

        Attachments

        1. gremlin.sh
          4 kB
          Michael McDermott

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michaeljmcd Michael McDermott
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: