Nicolas Trangosi created TINKERPOP-2394:
-------------------------------------------

             Summary: Unable to use __ class of a custom DSL when passing a 
script even if this class is imported
                 Key: TINKERPOP-2394
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2394
             Project: TinkerPop
          Issue Type: Bug
          Components: groovy
    Affects Versions: 3.4.7
            Reporter: Nicolas Trangosi


Even if I import the a custom DSL __ class, I cannot use in script as the 
CoreGremlinPlugin override it with the class 
{{org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__}}
{code:java}
var manager = SingleGremlinScriptEngineManager.instance();
manager.addPlugin(ImportGremlinPlugin.build()
                                .classImports( __.class,)
                                .create());
GremlinScriptEngine engine = manager.getEngineByName("gremlin-groovy");
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to