Open GoogleCodeExporter opened 9 years ago
After some googling I've found that among Summer of Code 2009 projects there's
one for porting
Groovy to Android, under the mentorship of non other but Guillaume LaForge:
http://socghop.appspot.com/student_project/show/google/gsoc2009/codehaus/t124022
175510
http://socghop.appspot.com/student_project/show/google/gsoc2009/codehaus/t124022
175372
The results of SoC 2009 projects should be published sometime in October 2009.
Must we wait so long relying on two students? ;-)
One "Groovy on Android" experiment has been done without success "a long time
ago" in November 2007
by a Groovy developer James Williams:
http://jameswilliams.be/blog/entry/2007/11/12/Groovy+on+Android-Not+Quite+There+
Yet
Original comment by shonzi...@gmail.com
on 14 Jun 2009 at 10:15
Original comment by damonkoh...@gmail.com
on 16 Jun 2009 at 12:58
For the latest, see
http://thediscobot.blogspot.com/2009/07/howto-run-groovy-on-android.html
http://code.google.com/p/discobot/
Original comment by neal...@gmail.com
on 24 Aug 2009 at 10:16
Its now possible to compile groovy source code on Android so it should be
theoretically possible to use it with ASE. I have not tested it with BSE which i
guess ASE is using.
Is ASE using BSE and is there anything else groovy should be able to do? Just
let me
know and ill get cracking emmediatly :)
Original comment by mail...@gmail.com
on 26 Aug 2009 at 12:35
Hopefully this isn't a dumb question, but what is BSE?
Original comment by damonkoh...@gmail.com
on 27 Aug 2009 at 7:07
I meant BSF(Bean Scripting Framework), i think i misread the acronym a bit. No
wonder
it seemed strange :)
Original comment by mail...@gmail.com
on 27 Aug 2009 at 10:16
BSF works nicely with discobot now(the next realease is a week or so away), so
hopefully it will be possible to use groovy with android scripting in the near
future.
Original comment by mail...@gmail.com
on 1 Sep 2009 at 2:20
No news still?
Original comment by hippopot...@gmail.com
on 7 Mar 2011 at 5:01
Did anyone tried ?
What is the bottleneck ?
Original comment by tomcatalbino
on 26 Jan 2012 at 2:24
I tried a little.
First get the original binary & source.
http://groovy.codehaus.org/Download
I wrote this sample code and named it "hello_world.groovy"
print 'Hello, Groovy!'
I looked inside the Rhino For Android / BeanShell For Android codes.
It seems to need a REPL command.
Groovy's command is like this in the JVM jar.
>java -cp groovy-all-1.8.6.jar groovy.lang.GroovyShell hello_world.groovy
So I tried to convert it to the Dalvik(dx) jar like this.
>dx --dex --output=c:\..foo..\base\groovy-all-1.8.6-dx.jar
c:\..foo..\groovy-all-1.8.6.jar
And made an interpreter apk from the template from the repo and upload it to my
web space and also made the zip like "groovy_extras_r1.zip",
"groovy_scripts_r1.zip"
(the jar is in groovy folder inside the "groovy_extras_r1.zip")
It get's an error and fails when you excute the "hello_world.groovy".
I think my dx-jar is not good enough. But there must be a way to solve this.
I wrote this because someone could help this issue somedays...
Original comment by tomcatalbino
on 12 Feb 2012 at 3:57
This could be some hints.
http://code.google.com/p/discobot/
Original comment by tomcatalbino
on 22 Mar 2012 at 3:12
The google code page looks dead. Try this
https://github.com/disco-bot/disco-bot/
Original comment by twellman@gmail.com
on 31 Jul 2012 at 5:47
Original issue reported on code.google.com by
shonzi...@gmail.com
on 14 Jun 2009 at 10:04