Page Edited :
SLINGxSITE :
Groovy Support
Groovy Support has been edited by Felix Meschberger (Dec 12, 2008). Change summary: There is now a Groovy 1.6 RC1 SNAPSHOT which contains the headers, so the build instructions can be removed After meeting Paul King of the Groovy Team at Apache Con US 08 in New Orleans, I set out to take a stab at SLING-315 again to add Groovy support to Sling. It turned out, that the current Groovy 1.6 branch already contains the required setup to build the groovy-all.jar as an OSGi Bundle, which is directly usable with Sling by just installing that bundle. Currently the Groovy team is working hard towards the 1.6 release and many things are in flux, which is really great. So, on 11. Dec. 2008 Paul King of the Groovy Team has deployed a first RC1 Snapshot of Groovy 1.6 If you want to be on verge of development, you might want to go for Groovy 1.7: The second SNAPSHOT of beta-1 also contains the required headers and classes and may as well be used unmodified in Sling. You may download it here: groovy-all-1.7-beta-1-20081210.120632-2.jar To deploy the bundle go to the Bundles page, for example at http://localhost:8888/system/console/bundles You may check, whether the Groovy ScriptEngine has been "accepted" by Sling, by going to the Script Engines page of the Apache Felix Web Console. You should see the entry for Groovy there, somthing like this: Groovy Scripting Engine, 2.0 Language Groovy, Extensions groovy MIME Types application/x-groovy Names groovy, Groovy
|
Unsubscribe or edit your notifications preferences