Last modified by Thomas Mortagne on 2017/03/24

From version 2.1
edited by Thomas Mortagne
on 2008/11/20
Change comment: There is no comment for this version
To version 3.1
edited by Thomas Mortagne
on 2008/11/20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -17,10 +17,10 @@
17 17  The groovy engine has been upgraded to the last 1.6 beta version. You can now use all the new features of groovy as well as speed improvements and bugfixes from groovy 1.0 to 1.6 beta 2. See http://groovy.codehaus.org/ for more.
18 18  * Script macro
19 19  The new script macros add the ability to use any scripting language supporting JSR-223. For now the default XWiki distribution comes with only a groovy 1.6 support but it easy to add support for other language (like ruby, python, etc.) simply by adding the corresponding engine and implementation. See https://scripting.dev.java.net/
20 -#info("To use the new script macro:
21 -{code}{{script language=\"groovy\"}}println \"Hello World\"{{/script}}{code}
20 +To use the new script macro:
21 +{code}{{script language="groovy"}}println "Hello World"{{/script}}{code}
22 22  or you can use the groovy shortcut:
23 -{code}{{groovy}}println \"Hello World\"{{/groovy}}{code}")
23 +{code}{{groovy}}println "Hello World"{{/groovy}}{code}
24 24  
25 25  Important bug fixes:
26 26  

Get Connected