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

Let evaluate() handle : commands e.g. :remote connect

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.2.3
    • Fix Version/s: None
    • Component/s: console
    • Labels:
      None

      Description

      ~/apache-tinkerpop-gremlin-console-3.2.3$ cat ../remote_connect.groovy 
      :remote connect tinkerpop.server apache-tinkerpop-gremlin-console-3.2.3/conf/remote.yaml
      
      println 1+1
      ~/apache-tinkerpop-gremlin-console-3.2.3$ bin/gremlin.sh
      
               \,,,/
               (o o)
      -----oOOo-(3)-oOOo-----
      plugin activated: tinkerpop.server
      plugin activated: tinkerpop.utilities
      plugin activated: tinkerpop.tinkergraph
      gremlin> evaluate(new File('../remote_connect.groovy'))
      /home/automaton/remote_connect.groovy: 1: unexpected token: : @ line 1, column 1.
         :remote connect tinkerpop.server apache-tinkerpop-gremlin-console-3.2.3/conf/remote.yaml
         ^
      
      1 error
      Type ':help' or ':h' for help.
      Display stack trace? [yN]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xytxytxyt Xian Yi Teng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: