Sébastien Gaïde wrote:
Hi list,
In order to ease XWiki installation for those who don't want to deal
with tomcat/mysql, Ludovic asked me to work on a standalone
installation of XWiki based on jetty and hsqldb.
Mikhail and I have been working on a topic that may be of interest in
this context. Our approach consists in creating an Eclipse "product"
embedding XWiki as a plugin: we created a product that uses following
plugins:
- XWiki src tree with very few added files for making a plugin of it
- org.eclipse.tomcat plugin
- org.eclipse.help plugin
- a plugin that is used to launch the web applications
- org.eclipse.osgi plugin
A hsqldb plugin could be added easily. We then export the plugins using
the Eclipse product export tool, and then launch an XWiki server issuing
"xwiki" on the command line.
Eclipse "products" are described there:
http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse.platform.doc.is…
"An Eclipse based product is a stand-alone program built with the
Eclipse platform. A product may optionally be packaged and delivered as
one or more features, which are simply groupings of plug-ins that are
managed as a single entity by the Eclipse update mechanisms."
Eclipse products can embed a JRE. See also this URL also about cross
platform product export:
http://download.eclipse.org/eclipse/downloads/drops/R-3.1-200506271435/ecli…
With this approach:
- the launcher is available on any platform supported by Eclipse -> you
don't have to maintain one launching script for each targeted platform
- the Eclipse update plugin can be used for proposing local
installations to get updated with the latest XWiki release...
- Eclipse help app can be embedded as a webapp, which is nice for
browsing the documentation -> we could have XWiki doc available in it
We can publish some code to the repository, in
xwiki-sandbox/eclipse-product for instance?
Stéphane
--
Stéphane Laurière
slauriere(a)mandriva.com
http://club.mandriva.com