-----Original Message-----
From: jeremi23(a)gmail.com [mailto:jeremi23@gmail.com] On Behalf Of
jeremi joslin
Sent: samedi 9 décembre 2006 17:59
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Exporting a full wiki or space in PDF?
I think you will find what you need here :
http://www.xwiki.org/xwiki/bin/view/Dev/AggregateDocs
Thanks Jeremi. I had missed that page. The way it works is at the same time powerful but
also difficult for end users. We'll need to improve that in the future. In the near
feature we need to support easy application installation and package this in a xar file.
Anyway, I've tried to use it by copy-pasting the text file in a page on xwikiorg10 but
it's failing with an error.
Error number 4002 in 4: Error while parsing groovy page XWiki.PDFGenerator Wrapped
Exception: startup failed, Script1.groovy: 167: The current scope does already contain a
variable of the name tocDocRoot @ line 167, column 9.Script1.groovy: 6: unable to resolve
class org.codehaus.groovy.sandbox.util.XmlSlurper @ line 6, column 2. 2 errors
Error number 4002 in 4: Error while parsing groovy page XWiki.PDFGenerator
Wrapped Exception: startup failed, Script1.groovy: 167: The current scope does already
contain a variable of the name tocDocRoot
@ line 167, column 9.Script1.groovy: 6: unable to resolve class
org.codehaus.groovy.sandbox.util.XmlSlurper
@ line 6, column 2.
2 errorscom.xpn.xwiki.XWikiException: Error number 4002 in 4: Error while parsing groovy
page XWiki.PDFGenerator
Wrapped Exception: startup failed, Script1.groovy: 167: The current scope does already
contain a variable of the name tocDocRoot
@ line 167, column 9.Script1.groovy: 6: unable to resolve class
org.codehaus.groovy.sandbox.util.XmlSlurper
[...]
Wrapped Exception:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed, Script1.groovy: 167: The current scope does already contain a variable of the name
tocDocRoot
Thus it seems the script is not working.
Have you used this script? Has anyone used it?
It's quite big and difficult to debug... I can imagine the difficulties our uses may
face when trying to use it... I think what it means in essence is that XWiki does not
support exporting a full wiki or space yet so we shouldn't advertise this.
Thanks
-Vincent
On 12/9/06, Vincent Massol <vincent(a)massol.net>
wrote:
Hi,
I know how to export a single page but I'd like to know if it's
possible to export a full space or even a full wiki in PDF?
Thanks
-Vincent
______________________________________________________________________
_____ Découvrez une nouvelle façon d'obtenir
des réponses à toutes
vos
questions !
Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
--
You receive this message as a subscriber of the xwiki-
users(a)objectweb.org mailing
list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
jeremi
___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo!
Questions/R�ponses
http://fr.answers.yahoo.com