[request] possible to add Groovy support to SikuliX?

Bug #1319686 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Low
RaiMan

Bug Description

from the connected question comment #6:

-Groovy: since you can mix pure java and groovy and even use Groovy classes directly from java classes with java syntax, I think integration might be easy. All you need is the groovy-all jar from http://groovy.codehaus.org. Some incredible functions like @Grab (http://groovy.codehaus.org/api/groovy/lang/Grab.html - I think you'll love this...) are only avalable if your RootClassLoader is GroovyClassLoader though, so if you want to support Grab (or even use it for the IDE) you'll probably have to work a bit more on it.
About the engine http://groovy.codehaus.org/api/groovy/util/GroovyScriptEngine.html is fairly easy to use. Here some example, http://groovy.codehaus.org/Embedding+Groovy, but beware the GroovyShell... I really think you'd prefer to go to GroovyScriptEngine. I say so 'cause I started with GroovyShell and then painfully refactored to GroovyScriptEngine. This way you could even run third party scripts with classpath roots as your only concern.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → RaiMan (raimund-hocke)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.