[xwiki-devs] help for building
Paul Libbrecht
paul at activemath.org
Wed Jan 2 02:09:59 CET 2008
thanks Cristian,
had forgotten about profiles (which also seem to be about
applications...).
In any case... now I see my mvn build throws a lot of exceptions (not
fatal errors) because it could not connect to the DB which, indeed, I
had not configured.
Is that needed or ignoreable ? And if yes, where ? (ideally somewhere
in ~/build.properties or so?).
Should that DB be the "production DB" (I guess not!).
Just a build-scratch? Something in the middle?
thanks again
paul
Le 2 janv. 08 à 01:07, Cristian Vrabie a écrit :
> Try using maven profiles: run "mvn clean install -Pmysql" in the
> root folder (xwiki-product-curriki). This should compile all the
> subprojects (including web,plugins,gtw, etc) and make a snapshot in
> the /web/target/XXX-SNAPSHOT, wich is ready to be deployed in the
> webbaps folder of you server.
>
> Paul Libbrecht wrote:
>>
>> Hello XWikiers,
>>
>> I am bit in doubt with building XWiki and particularly Curriki
>> which is my goal.
>>
>> On the one hand there seems to be DB-oriented sub-folders for
>> which mvn install seems to only install... a pom in the repo!
>>
>> On the other hand, the default build seems to build only for a
>> special DB, hypersonic... This indeed what I got doing the
>> following a few days ago:
>> - svn co of trunks
>> - cd-ed to xwiki-product-curriki
>> - mvn install, failed
>> - cd-ed to xwiki-platform-web, mvn install success
>> - cd-ed to xwiki-platform-pom, mvn install success
>> - cd-ed to xwiki-product-curriki, mvn install success
>>
>> What is the normal way to get the "normal build" (mvn install in
>> xwiki-product-curriki) to build for a specific DB?
>>
>> Thus far I am still hoping to build curriki for Postgres if possible.
>> In any case it should work for MySQL since that's where
>> curriki.org runs.
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2203 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/devs/attachments/20080102/8e36aa5d/attachment.bin
More information about the devs
mailing list