On Mon, May 20, 2013 at 3:45 PM, Erik Engstrom <[email protected]> wrote:
Thanks, I tried adding 1.0 syntax by changing the property to:
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1
and restarting xwiki. But 1.0 is still not available in the downloads. Am I missing something?
Not sure what download you are taking about, when you edit a document you can choose its syntax in a panel on the right.
Erik
On Mon, May 20, 2013 at 8:00 AM, Thomas Mortagne <[email protected]>wrote:
The syntax did not really changed but as indicated on http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import you have to make sure you use xwiki/1.0 syntax for this snippet to work. In 5.0 the xwiki/1.0 syntax is not listed anymore by default, you can enable it in xwiki.cfg with the xwiki.rendering.syntaxes property.
Rewriting It is a bit more complex than changing <% with {{groovy}}, the main difference is that in the old syntax you can stop groovy in the middle of a if/for to print something and go back to groovy which is not supported by {{groovy}} macro. So the rewrite is mostly about adding a lot of println. I need to find some time to do it...
On Mon, May 20, 2013 at 6:55 AM, Erik Engstrom <[email protected]> wrote:
Hey all,
I inherited an xwiki 3.5 installation that used hsqldb. I want to move to 5.0.1 and mysql. The new instance is up and running and I was able to export a XAR file from the old system. However the XAR file is 184MB in size so the regular import says it is too big.
I tried the script here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import
But it seems the syntax has changed. I tried to replace the <% with {{groovy}} and %> with {{/groovy}} but then get a bunch of errors.
Can some one point me to an upgraded version? Is there a better way to do this?
Thanks,
Erik _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne