{"id":61,"date":"2013-06-21T22:06:09","date_gmt":"2013-06-21T20:06:09","guid":{"rendered":"http:\/\/andreikucharavy.com\/L3Cache\/?p=61"},"modified":"2014-03-16T23:49:51","modified_gmt":"2014-03-16T22:49:51","slug":"mastering-groovy","status":"publish","type":"post","link":"https:\/\/andreikucharavy.com\/L3Cache\/mastering-groovy\/","title":{"rendered":"Mastering Groovy"},"content":{"rendered":"<p>So, since I want to work with neo4j through bulbs, it seems that I have no other option but to use Groovy Gremlin.<\/p>\n<p>Installation of groovy on Eclipse: through marketplace. Quite easy.<\/p>\n<p>First attempt to use: install gremlin from Tinkerpop and access it from Groovy programming shell in eclipse. After about an hour of furious googling, it seems that a couple of libraries need to be included in the groovy shell to launch the gremlin from within groovy:<\/p>\n<p><code>gremlin$ groovysh -cp $GREMLIN_HOME\/lib\/gremlin-groovy-2.3.0.jar:$GREMLIN_HOME\/lib\/gremlin-java-2.3.0.jar:$GREMLIN_HOME\/lib\/pipes-2.3.0.jar:$GREMLIN_HOME\/lib\/common-1.7.jar:$GREMLIN_HOME\/lib\/groovy-1.8.9.jar<\/code><\/p>\n<p>To do the same thing from Eclipse, <code>Project>Properties>JavaBuild Path>Add External Jars<\/code> and then add: <\/p>\n<li><code>$GREMLIN_HOME\/lib\/gremlin-groovy-2.3.0.jar<\/code><\/li>\n<li><code>$GREMLIN_HOME\/lib\/gremlin-java-2.3.0.jar<\/code><\/li>\n<li><code>$GREMLIN_HOME\/lib\/pipes-2.3.0.jar<\/code><\/li>\n<li><code>$GREMLIN_HOME\/lib\/common-1.7.jar<\/code><\/li>\n<li><code>$GREMLIN_HOME\/lib\/groovy-1.8.9.jar<\/code><\/li>\n","protected":false},"excerpt":{"rendered":"<p>So, since I want to work with neo4j through bulbs, it seems that I have no other option but to use Groovy Gremlin. Installation of groovy on Eclipse: through marketplace. Quite easy. First attempt to use: install gremlin from Tinkerpop and access it from Groovy programming shell in eclipse. After about an hour of furious <a class=\"read-more\" href=\"https:\/\/andreikucharavy.com\/L3Cache\/mastering-groovy\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[10,18,17,16,9],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-prog","tag-bioinformatics","tag-graph-databases","tag-gremlin","tag-groovy","tag-programming"],"_links":{"self":[{"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":7,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/posts\/61\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andreikucharavy.com\/L3Cache\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}