[
https://issues.apache.org/jira/browse/TINKERPOP-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930310#comment-15930310
]
Xian Yi Teng commented on TINKERPOP-1604:
-----------------------------------------
TINKERPOP-1653 makes this no longer necessary; will close.
> Let evaluate() handle : commands e.g. :remote connect
> -----------------------------------------------------
>
> Key: TINKERPOP-1604
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1604
> Project: TinkerPop
> Issue Type: Improvement
> Components: console
> Affects Versions: 3.2.3
> Reporter: Xian Yi Teng
>
> {code}
> ~/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]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)