Sebastien Gaïde a écrit :
  Maybe add script to the menu to allow to
import/export the database
 to XML could be useful also if we want to import a database coming
 from another wiki. 
 that would be great.
 We have somewhere an ant task which could allow to make the import in
 HSQLDB from XML files instead of from sql. This could be done by the
 ant script and the default database commited as XML files in the
 tree. The ant task calls a groovy script making the import in an
 empty database. 
 in fact, the hsqldb files used to bootstrap the xwiki standalone
 version have been created using the import script found in the backup
 package, so the data used as source are already XML files. These xml
 files have been generated using the export script found in the same
 backup package, using a mysql database as source.
 So if the backup package can be found somewhere in the source tree,
 along with the xml files, it won't be difficult to generate the hsqldb
 files during the standalone target.
 
 Cool.. I've put the code I have for an ant based version of the
import/export package.
http://www.xwiki.org/xwiki/bin/view/AdminGuide/BackupAntTask
It still needs some work to integrate with the ant build. We kind of
need a standalone version of import/export but it needs quite a lot of
jars from xwiki.
 This looks really cool and I think one great next step will be adding
 the P2P XWiki plugin which would allow syncrhonizing your local wiki
 with a distant wiki. This would allow to have an offline Wiki on your
 USB key which can be synchronized online.. 
 that sounds great, indeed.
  You can put a alpha-package on 
xwiki.org so we
can test on USB keys
 and see how it goes. 
 ok, I propose to put that in the Dev/ProposedFeatures section. The
 package weights about 30 MB, you confirm me that's it's not a problem
 to create such a big attachment ?
 
 It's a little big.. We can put it on ObjectWeb but we should add
'alpha'
and 'svn' in the name to make sure people realize it's not perfect yet
and the xwiki version comes from svn (it should not be used on older
data yet).
You should create an account on 
http://forge.objectweb.org and we can
give you rights for this.
Ludovic
  Seb.
 ------------------------------------------------------------------------
 --
 You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws