I have just tried to run the simple demo on Frames from the gremlin console:
TinkerGraph graph = TinkerGraphFactory.createTinkerGraph();
FramedGraphFactory factory = new FramedGraphFactory(new GremlinGroovyModule());
after adding an import com.tinkerpop.frames.*;
(yes, tinkerpop frames is in my classpath)
but the console does not recognize the FramedGraphFactory class.
In fact, if I run the
gremlin> show classes
command, it replies that nothing has been loaded. Any clue?
Thanks
PS Details: I am on Ubuntu, downloaded gremlin-groovy-2.4.0.
I have also downloaded the frames jar, and set the classpath:
echo $CLASSPATH
/home/dev/frames-2.5.0.jar
then started gremlin and imported frames:
import com.tinkerpop.frames.*
finally
TinkerGraph graph = TinkerGraphFactory.createTinkerGraph();
FramedGraphFactory factory = new FramedGraphFactory(new GremlinGroovyModule());
produces:
groovysh_evaluate: 50: unable to resolve class FramedGraphFactory
@ line 50, column 30.
FramedGraphFactory factory = new FramedGraphFactory(new GremlinGroovyModule()); //(1) Factories should be reused for performance and memory conservation.
^
groovysh_evaluate: 50: unable to resolve class GremlinGroovyModule
@ line 50, column 53
.