Changes for page Building XWiki from sources
Last modified by Lucas Charpentier (Sereza7) on 2024/01/19 11:27
Change comment:
Removed mentions of SVN
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Sergiu1 +xwiki:XWiki.VincentMassol - Content
-
... ... @@ -115,7 +115,7 @@ 115 115 116 116 = Building with Maven = 117 117 118 -Projects are directories found under the XWiki S VNroot. For example: platform, enterprise, manager, etc.118 +Projects are directories found under the XWiki SCM root. For example: platform, enterprise, manager, etc. 119 119 120 120 To build them, check them out and run ##mvn install##. 121 121 ... ... @@ -141,7 +141,7 @@ 141 141 142 142 {{warning}}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. 143 143 144 -A simple way to do this is to define the necessary properties within ##{HOME}/.m2/settings.xml## as explained above when configuring the maven mirrors. Check the property names required by looking at the corresponding profiles section in the [[platform's top level pom.xml file>>http:// svn.xwiki.org/svnroot/xwiki/platform/pom/trunk/pom.xml]]144 +A simple way to do this is to define the necessary properties within ##{HOME}/.m2/settings.xml## as explained above when configuring the maven mirrors. Check the property names required by looking at the corresponding profiles section in the [[platform's top level pom.xml file>>https://github.com/xwiki/xwiki-platform/blob/master/pom.xml]] 145 145 {{/warning}} 146 146 147 147 == Building on Windows == ... ... @@ -165,7 +165,7 @@ 165 165 What does this mean to the developer? 166 166 If you wish to make changes in the core of XWiki, you are probably going to want to work on XWiki Platform. You can download and compile XWiki Enterprise and while compiling, you will notice Maven downloads a big ~~80MB file, this is the platform. Maven is smart enough to know that you don't have a copy of the platform and will download it from the XWiki Maven repository. Once it has been downloaded the first time, it is stored on your harddrive and you won't have to download it again //until// changes are made in the platform. 167 167 168 -If you want to work on the core or if you have limited bandwidth, then you are well advised to download the platform. Then you can use the **svnup**command to get the latest copy without downloading the entire platform all over again. If you download the platform and compile it then you can compile XWiki Enterprise, Maven will use your newly compiled copy of the platform rather than downloading it, Maven is smart.168 +If you want to work on the core or if you have limited bandwidth, then you are well advised to download the platform. Then you can use the SCM's update command to get the latest copy without downloading the entire platform all over again. If you download the platform and compile it then you can compile XWiki Enterprise, Maven will use your newly compiled copy of the platform rather than downloading it, Maven is smart. 169 169 170 170 == Building XWiki Platform == 171 171 ... ... @@ -321,8 +321,8 @@ 321 321 322 322 = Build Tools = 323 323 324 -We have developed some build tools in the form of Maven plugins. They are located in the [[##platform/xwiki-tools/## directory>>http:// svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/]]. Here are descriptions of some of them:325 -* ##xwiki-packager-plugin##: Takes XWiki pages defined as XML files and located in ##src/main/resources/## and load them into a database (defined by ##src/main/packager/hibernate.cfg.xml##). An example usage is available [[here>>http:// svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xwiki-packager-plugin/src/it/basic-import-export/]].324 +We have developed some build tools in the form of Maven plugins. They are located in the [[##platform/xwiki-tools/## directory>>https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-tools]]. Here are descriptions of some of them: 325 +* ##xwiki-packager-plugin##: Takes XWiki pages defined as XML files and located in ##src/main/resources/## and load them into a database (defined by ##src/main/packager/hibernate.cfg.xml##). An example usage is available [[here>>https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-tools/xwiki-platform-tool-packager-plugin/src/it/basic-import-export]]. 326 326 327 327 = Building in Eclipse = 328 328