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

Unable to use __ class of a custom DSL when passing a script even if this class is imported

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.4.7
    • 3.5.0
    • groovy

    Description

      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.__

      var manager = SingleGremlinScriptEngineManager.instance();
      manager.addPlugin(ImportGremlinPlugin.build()
      				.classImports( __.class,)
      				.create());
      GremlinScriptEngine engine = manager.getEngineByName("gremlin-groovy");
      

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            trangosi Nicolas Trangosi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: