Maybe start with some Groovy plugin för Eclipse?
/peter
Sent from my phone.
Russell Jurney
twitter.com/rjurney
russell...@gmail.com
datasyndrome.com
Russell Jurney
twitter.com/rjurney
russell...@gmail.com
datasyndrome.com
Is there a way in the Gremlin interactive session to tell it not to
print any of the return values to the screen? Would be nice to be able
to load a script and just let it crank.
And yes, my only workflow to date with Gremlin scripts is editing them
in a text editor and loading them in the interactive session. ;-) Need
to step up my game...
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/671b3980-28bf-46ef-bc67-befcc5522b9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H438SH3JGsujQe0cigB3GX%3D3pamV06kHX0VkGB49arDo2hw%40mail.gmail.com.
C:\Phani\titan\bin>groovyConsole.batjava.lang.ExceptionInInitializerError at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:62) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:159) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122) at groovy.ui.Console.<clinit>(Console.groovy:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:106) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:128)Caused by: java.lang.SecurityException: Prohibited package name: java.util.concurrent at java.lang.ClassLoader.preDefineClass(ClassLoader.java:659) at java.lang.ClassLoader.defineClass(ClassLoader.java:758) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:455) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:367) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at org.codehaus.groovy.tools.RootLoader.oldFindClass(RootLoader.java:172) at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:144) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2575) at java.lang.Class.getDeclaredFields(Class.java:1908) at org.codehaus.groovy.reflection.CachedClass$1$1.run(CachedClass.java:50) at java.security.AccessController.doPrivileged(Native Method) at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:47) at org.codehaus.groovy.reflection.CachedClass$1.initValue(CachedClass.java:45) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getFields(CachedClass.java:261) at groovy.lang.MetaClassImpl.addFields(MetaClassImpl.java:2374) at groovy.lang.MetaClassImpl.inheritFields(MetaClassImpl.java:2369) at groovy.lang.MetaClassImpl.setupProperties(MetaClassImpl.java:2256) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:3299) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3263) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:119) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:71) at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:33) ... 13 more
C:\Phani\titan\bin>
But, in Gremlin console, ( I am using in Windows)1. I am not able to move up, down on my commands, command history is not maintained
Coming to your suggestion on the Unit testing, yes, I agree that I need to get myself molded into the graph thinking. Could you please point me to the documentation of the patterns you have mentioned, so that I can get myself familiarized with those and start incorporating them in my implementation.
a) I am wondering, if there is any documentation like "Beginners guide to gremlin/groovy coding in intellij"
b) can I run the queries if not on a remote graph, on a local graph running on some port? basically I want to avoid the need to build source code before confirming the gremlin I wrote compiles / produces the results that I wanted! ==> source code building eats lot of development time, especially for database queries.
I can understand that experts can write graph traversals out of their wit, but newcomers will find it difficult to get their query right and would typically do multiple rounds before perfection. This could eat their complete day at the end. hence wanted to figure out the optimum way for on-boarding freshmen to gremlin development!
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d7ca89df-5dcd-485e-9396-e982deb409a8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/b52217d7-4e05-443f-9138-de6e8735253c%40googlegroups.com.