[
https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828356#comment-15828356
]
ASF GitHub Bot commented on TINKERPOP-1605:
-------------------------------------------
GitHub user dkuppitz opened a pull request:
https://github.com/apache/tinkerpop/pull/537
TINKERPOP-1605 gremlin-console 3.2.3 -e can no longer take paths relative
to current working directory
https://issues.apache.org/jira/browse/TINKERPOP-1605
```
daniel@cube /tmp $ ls *.groovy
test.groovy
daniel@cube /tmp $ /projects/apache/tinkerpop/bin/gremlin.sh -e test.groovy
2
4
6
daniel@cube /tmp $ /projects/apache/tinkerpop/bin/gremlin.sh -e
test2.groovy
Gremlin file not found at [test2.groovy].
daniel@cube /tmp $ /projects/apache/tinkerpop/bin/gremlin.sh
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: tinkerpop.server
plugin activated: tinkerpop.utilities
plugin activated: tinkerpop.tinkergraph
gremlin> graph = TinkerGraph.open()
==>tinkergraph[vertices:0 edges:0]
gremlin> graph.io(graphml()).readGraph('data/grateful-dead.xml')
==>null
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:808 edges:8049], standard]
```
VOTE: +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/tinkerpop TINKERPOP-1605
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/537.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #537
----
commit 8fd6dbbe9cc0b98d124cd3fdf739377289300ce8
Author: Daniel Kuppitz <[email protected]>
Date: 2017-01-18T16:18:46Z
remember user's working directory when script files are being loaded in
execution mode
----
> gremlin-console 3.2.3 -e can no longer take paths relative to current working
> directory
> ---------------------------------------------------------------------------------------
>
> Key: TINKERPOP-1605
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1605
> Project: TinkerPop
> Issue Type: Bug
> Components: console
> Affects Versions: 3.2.3
> Reporter: Xian Yi Teng
> Assignee: Daniel Kuppitz
>
> {code}
> $ cat test2.groovy
> //println 1/0
> println 1+1
> println 2+2
> println 3+3
> $ apache-tinkerpop-gremlin-console-3.2.2/bin/gremlin.sh -e test2.groovy
> 2
> 4
> 6
> $ apache-tinkerpop-gremlin-console-3.2.3/bin/gremlin.sh -e test2.groovy
> Gremlin file not found at [test2.groovy].
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)