Ludovic Dubost a écrit :
Great Sebastien,
That looks good to me..
My main comment, would be considering upgrades. Suppose you want to upgrade your USB key or local install and not your database. Would it be possible to have the installer ask wether or not to override the existing database.
yes, this is possible. I will add this and the possibility to change the jetty server port, asap.
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.
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 ? Seb.