Building Opencms 9.5.x from the sources

(Difference between revisions)
Jump to: navigation, search
m (moved Building opencms-core 9.0.1 from scratch to Building Opencms 9.0.1 from the sources: The page documents how to build opencms and modules, not just opencms-core)
(Add instructions for building alkacom-oamp)
Line 1: Line 1:
 
<small>Note: this is work in progress</small>
 
<small>Note: this is work in progress</small>
  
1. Checkout the sources of the 9_0_1 branch<sup>1</sup>:
+
=== Building opencms-core ===
 +
 
 +
1. Checkout the sources of the 9_0_x branch<sup>1</sup>:
  
 
<source lang="bash">git clone https://github.com/alkacon/opencms-core.git -b branch_9_0_x</source>
 
<source lang="bash">git clone https://github.com/alkacon/opencms-core.git -b branch_9_0_x</source>
Line 9: Line 11:
 
<source lang="bash">gradle bindist</source>
 
<source lang="bash">gradle bindist</source>
  
 +
=== Building alkacom-oamp ===
  
 +
1. Checkout the sources of the 9_0_x branch
 +
 +
<source lang="bash">git clone https://github.com/alkacon/alkacon-oamp.git -b branch_9_0_x</source>
 +
 +
2. Execute the gradle <tt>bindist</tt> task<sup>2</sup>:
  
  
 
=== Notes ===
 
=== Notes ===
  
Checking out the official tag build_9_0_1 results in gradle failing with the following message:
+
1. Checking out the tagged build_9_0_1 and executing gradle fails with the following message:
  
 
  > Could not find property 'distribution' on configuration ':compile'.
 
  > Could not find property 'distribution' on configuration ':compile'.
 +
 +
2. Currently, gradle fails with the following message:
 +
 +
> DOCTYPE is disallowed when the feature "<nowiki>http://apache.org/xml/features/disallow-doctype-decl</nowiki>" set to true.

Revision as of 14:17, 25 September 2014

Note: this is work in progress

Building opencms-core

1. Checkout the sources of the 9_0_x branch1:

git clone https://github.com/alkacon/opencms-core.git -b branch_9_0_x

2. Execute the gradle bindist task:

gradle bindist

Building alkacom-oamp

1. Checkout the sources of the 9_0_x branch

git clone https://github.com/alkacon/alkacon-oamp.git -b branch_9_0_x

2. Execute the gradle bindist task2:


Notes

1. Checking out the tagged build_9_0_1 and executing gradle fails with the following message:

> Could not find property 'distribution' on configuration ':compile'.

2. Currently, gradle fails with the following message:

> DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox