Hi Paul,

For all questions on building XWiki please check the following page  
which answers your 2 questions from below:
http://dev.xwiki.org/xwiki/bin/view/Community/Building

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
* For the MySQL profile, you need to configure a MySQL db. Again see:
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HBuildingforaspecificdatabase

Thanks
-Vincent

On Jan 2, 2008, at 2:09 AM, Paul Libbrecht wrote:

> 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.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to