Hi all, I have followed "http://www.xwiki.org/xwiki/bin/view/Community/Building" to build the default source available at "svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users". I tried to build everything but the build broke down. Furthermore, I need to build XWiki for Oracle and Weblogic, please help me in the hibernate /maven files and/or WLS related set-up. Any documentation will also be helpful. Thanks Gaurav
On Jul 4, 2007, at 3:47 PM, Gaurav Upadhyaya wrote:
Hi all,
I have followed "http://www.xwiki.org/xwiki/bin/view/Community/ Building" to build the default source available at "svn:// svn.forge.objectweb.org/svnroot/xwiki/trunks-users". I tried to build everything but the build broke down.
How do you expect us to help you?
Furthermore, I need to build XWiki for Oracle and Weblogic, please help me in the hibernate /maven files and/or WLS related set- up.
You don't need to build XWiki for Oracle nor or WebLogic. These are just configuration options. You need to read the Installation guide on xwiki.org
Any documentation will also be helpful.
You've seen the documentation already. That's all there is and it's supposed to be enough to build xwiki. Do you have a specific question? -Vincent
Vincent Massol wrote:
On Jul 4, 2007, at 3:47 PM, Gaurav Upadhyaya wrote:
Hi all,
I have followed "http://www.xwiki.org/xwiki/bin/view/Community/Building" to build the default source available at "svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users". I tried to build everything but the build broke down.
How do you expect us to help you?
Furthermore, I need to build XWiki for Oracle and Weblogic, please help me in the hibernate /maven files and/or WLS related set-up.
You don't need to build XWiki for Oracle nor or WebLogic. These are just configuration options. You need to read the Installation guide on xwiki.org
Any documentation will also be helpful.
You've seen the documentation already. That's all there is and it's supposed to be enough to build xwiki. Do you have a specific question?
-Vincent
Thanks For your reply, Can you please provide some in-sight on the following: 1) The significance of individual modules(xwiki-platform-web,xwiki-platform-core,xwiki-platform-tools etc...). 2) The hibernate file that I can configure (for Oracle) before doing an 'mvn install' on 'xwiki-platform-web' to create a WAR with Oracle config. 3) Where to configure the user/password for the database, (default is XWIKI/XWIKI ). 4) How can I log-into XWiki, the first time I build and run it, is there a default user inserted into the table or do i need to create it through the UI ? Thanks and Regards. Gaurav
On Jul 5, 2007, at 2:04 PM, Gaurav Upadhyaya wrote:
Vincent Massol wrote:
On Jul 4, 2007, at 3:47 PM, Gaurav Upadhyaya wrote:
Hi all,
I have followed "http://www.xwiki.org/xwiki/bin/view/ Community/Building" to build the default source available at "svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users". I tried to build everything but the build broke down.
How do you expect us to help you?
Furthermore, I need to build XWiki for Oracle and Weblogic, please help me in the hibernate /maven files and/or WLS related set-up.
You don't need to build XWiki for Oracle nor or WebLogic. These are just configuration options. You need to read the Installation guide on xwiki.org
Any documentation will also be helpful.
You've seen the documentation already. That's all there is and it's supposed to be enough to build xwiki. Do you have a specific question?
-Vincent
Thanks For your reply,
Can you please provide some in-sight on the following:
1) The significance of individual modules(xwiki-platform-web,xwiki- platform-core,xwiki-platform-tools etc...).
Read http://www.xwiki.org/xwiki/bin/view/Community/. You'll find it in the source repository section. Are you sure you've searched before asking?
2) The hibernate file that I can configure (for Oracle) before doing an 'mvn install' on 'xwiki-platform-web' to create a WAR with Oracle config.
As I said above it's a configuration thing, so just build xwiki and then configure it. Maybe you could tell us why you want to build xwiki from sources? That would allows us to better help you...
3) Where to configure the user/password for the database, (default is XWIKI/XWIKI ).
In the hibernate config file. Once again, as I said in my previous email, please read the Installation guide on xwiki.org. Are you sure you've read it?
4) How can I log-into XWiki, the first time I build and run it, is there a default user inserted into the table or do i need to create it through the UI ?
Depends if you've built a xwiki database or not. -Vincent
Vincent Massol wrote:
On Jul 5, 2007, at 2:04 PM, Gaurav Upadhyaya wrote:
Vincent Massol wrote:
On Jul 4, 2007, at 3:47 PM, Gaurav Upadhyaya wrote:
Hi all,
I have followed "http://www.xwiki.org/xwiki/bin/view/Community/Building" to build the default source available at "svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users". I tried to build everything but the build broke down.
How do you expect us to help you?
Furthermore, I need to build XWiki for Oracle and Weblogic, please help me in the hibernate /maven files and/or WLS related set-up.
You don't need to build XWiki for Oracle nor or WebLogic. These are just configuration options. You need to read the Installation guide on xwiki.org
Any documentation will also be helpful.
You've seen the documentation already. That's all there is and it's supposed to be enough to build xwiki. Do you have a specific question?
-Vincent
Thanks For your reply,
Can you please provide some in-sight on the following:
1) The significance of individual modules(xwiki-platform-web,xwiki-platform-core,xwiki-platform-tools etc...).
Read http://www.xwiki.org/xwiki/bin/view/Community/. You'll find it in the source repository section. Are you sure you've searched before asking?
I have searched the code and have it with me. I am interested to know the importance of each module([http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository#HUnderstandin...] gives some insight, but it does not speak about the necessary and inter-dependent modules. Any information on that would be hlepful)
2) The hibernate file that I can configure (for Oracle) before doing an 'mvn install' on 'xwiki-platform-web' to create a WAR with Oracle config.
As I said above it's a configuration thing, so just build xwiki and then configure it.
Maybe you could tell us why you want to build xwiki from sources? That would allows us to better help you...
I am interested in building an archive which already has the DB properties that i need(not the default ones), so that there is no need to change DB properties every time i build it.
3) Where to configure the user/password for the database, (default is XWIKI/XWIKI ).
In the hibernate config file. Once again, as I said in my previous email, please read the Installation guide on xwiki.org. Are you sure you've read it?
The source repository mentioned on xwiki.org (http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository) has many modules with hibernate config , since i am not sure about the inter-dependencies of these modules, please suggest which one should i change.(I may just build and change the sole hibernate config, but it would help if i can understand the root source of the build properties).
4) How can I log-into XWiki, the first time I build and run it, is there a default user inserted into the table or do i need to create it through the UI ?
Depends if you've built a xwiki database or not.
I tried to add(<*property* name="hbm2ddl.auto">*create*</*property*>) in hibernate,not sure if this is there in the XWiki engine already,but the database was created and i could go to the main page, and need some credentials to log-in.
-Vincent
I am thankful for your co-operation. Gaurav
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). I would be really thankful for any help. Thanks Gaurav
On Jul 6, 2007, at 11:12 AM, 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.
I've already answered that (at least 2 or 3 times)
2) How can I change the default user (XWIKI / XWIKI).
I've already answered that too.
I would be really thankful for any help.
Gaurav there's no point in repeating over and over the same question. I have spent some of my own time to answer you. The least you could do is read my answers and try them out and let me know how it goes... :( Thanks -Vincent
Vincent Massol wrote:
On Jul 6, 2007, at 11:12 AM, 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.
I've already answered that (at least 2 or 3 times)
2) How can I change the default user (XWIKI / XWIKI).
I've already answered that too.
I would be really thankful for any help.
Gaurav there's no point in repeating over and over the same question. I have spent some of my own time to answer you. The least you could do is read my answers and try them out and let me know how it goes... :(
Thanks -Vincent
Hi Vincent, I am thankful for your time. I am sorry if i have not been able to communicate what my requirement is, but in your emails, i did not see the answers i was looking for. In the last email for example, i tried to put in that even if i change my hibernate config, and then if i do an "mvn install"**, my change is over-written with the default one again. Also, if i make the DB config change after deploying; from the server logs, i get an error that XWIKI user is still being referenced (which i have changed as per my database). All this makes me think that i am not exactly doing the change at the root location, and that is what i want to find out. Kindly refer your email where i can find the answers(you said that you have answered them 2-3 times). I am also willing to document these and post it for anyone who can refer to this in the future. I thankful again for your time but i am still in pain of not being able to deploy from the source with my own DB changes. Thanks a lot Gaurav ** : i used [svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users] and did a "mvn install" in 'xwiki-platform-web'.Please suggest if im correct.
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
On Jul 6, 2007, at 12:12 PM, Artem Melentyev wrote:
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 :)
or, as I pointed out so many times, simply read the documentation on xwiki.org, in the Installation guide... *sigh* -Vincent
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>
Vincent Massol wrote:
On Jul 6, 2007, at 12:12 PM, Artem Melentyev wrote:
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 :)
or, as I pointed out so many times, simply read the documentation on xwiki.org, in the Installation guide...
*sigh*
-Vincent
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>
Thanks again for your reply, but i do not want to install by downloading the ready WAR(as mentioned in the installation guide.). I was hoping that i can build my own wiki with my database, my skin with my changes. For doing that, i need to develop it and would need to build it again and again. And that is the reason for all my questions. I am working on Artem's suggestions now and am thankful to him for providing me that. Thanks again Gaurav
participants (3)
-
Artem Melentyev -
Gaurav Upadhyaya -
Vincent Massol