Le 2 janv. 08 à 09:52, Vincent Massol a écrit :
In short:
* For the build, you need to configure the xwiki remote repo in
your settings.xml if you don't intend to rebuild the whole source
tree
that's documented and works (I was missing a dependency... easy to fix).
* For the MySQL profile, you need to configure a MySQL
db. Again see:
http://dev.xwiki.org/xwiki/bin/view/Community/
Building#HBuildingforaspecificdatabase
That is exactly where things are completely fuzzy to my taste:
- it is not clear at all what is the purpose of this database access
([INFO] [xwiki-packager:import] ??? part of a build?). This would be
really really needed in order for me to name the database slightly
intelligently (and maybe use it?? ;-)).
- that page writes what's below... and it refers to a settings
section of pom.xml. The word settings is wrong, it should be
properties (I suppose, still need to set it up).
After understanding, confirming (and testing), I suppose I'll be able
to change the documentation page.
paul
Hypersonic and Derby are embedded database so you
won't need
anything setup to execute the build for them. However for MySQL and
PostGreSQL you'll need to have the database installed, set up and
running before you can run the build with their profiles. More
specifically check the configuration required by looking at the
corresponding profiles section in the top level pom.xml file.