Gaurav Upadhyaya wrote:
Hi
I liked this wiki so much that i want to customize its look per my
choice and run it on my database. I have the code with me and want to
know few things :
1) How can I configure the database to Oracle, (before building the
archive, to avoid repetitive work).I have tried over writing the
hibernate files with my config, but the moment i use "mvn install", it
sets back to the default HSQL db. Where do i need to make a change for
hibernate files to use my DB properties.
2) How can I change the default user (XWIKI / XWIKI).
1. Download or build default xwiki war
2. unpack (unzip)
3. modify any configs, copy there oracle jdbc driver
4. pack (simple zip and rename to xwiki.war)
5. enjoy :) or, mean deploy :)
But if you REALLY want to build for oracle:
1. look at xwiki-platform-pom/pom.xml
2. add your oracle m2 profile there
3. build all by mvn -P<yourprofile>
--
Artem Melentyev, UralSU