[ 
https://issues.apache.org/jira/browse/TINKERPOP-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365885#comment-16365885
 ] 

Michael McDermott commented on TINKERPOP-1788:
----------------------------------------------

It occurs to me that there may be one thing not clear from what I wrote before. 
Cygwin is an interesting hybrid between Windows and *nix style executions 
because there is no JRE distributed with Cygwin. Therefore, running the script 
under Cygwin causes *nix style shell to run that executes Windows style Java, 
which includes differences in how you delimit classpath issues. This is why you 
see many shell scripts, including those from other Apache projects, check for a 
uname = CYGWIN.

> gremlin.sh does not work correctly under Cygwin
> -----------------------------------------------
>
>                 Key: TINKERPOP-1788
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1788
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 3.3.0
>            Reporter: Michael McDermott
>            Priority: Major
>         Attachments: gremlin.sh
>
>
> 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):
> {code}
> 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.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to