Changes for page JSR223

Last modified by Thomas Mortagne on 2017/11/27 16:39

From version 8.1
edited by Thomas Mortagne
on 2017/11/27 16:33
Change comment: There is no comment for this version
To version 9.1
edited by Thomas Mortagne
on 2017/11/27 16:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,13 +1,6 @@
1 1  {{groovy}}
2 - println new javax.script.ScriptEngineManager().engineFactories
2 + new javax.script.ScriptEngineManager().engineFactories.each() {
3 + println "* $it"
4 + println "** names: ${it.names}"
5 + }
3 3  {{/groovy}}
4 -
5 -{{groovy}}
6 -org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.class.getClassLoader().getResources('org/python/jsr223/PyScriptEngineFactory.class').each() {
7 - println "* $it"
8 -}
9 -
10 -org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.class.getClassLoader().getResources('META-INF/services/javax.script.ScriptEngineFactory').each() {
11 - println "* $it"
12 -}
13 -{{/groovy}}