Building Opencms 9.5.x from the sources

(Difference between revisions)
Jump to: navigation, search
m
(How to install opencms-core artifacts)
Line 10: Line 10:
  
 
<source lang="bash">gradle bindist</source>
 
<source lang="bash">gradle bindist</source>
 +
 +
3. If you want to also build the opencms oamp, v8 or v7 modules, you also need to install in your local maven repository the corresponding jars<sup>2</sup>:
 +
 +
<source lang="bash">gradle install</source>
  
 
=== Building alkacom-oamp ===
 
=== Building alkacom-oamp ===
Line 17: Line 21:
 
<source lang="bash">git clone https://github.com/alkacon/alkacon-oamp.git -b branch_9_0_x</source>
 
<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>:
+
2. Execute the gradle <tt>bindist</tt> task<sup>3</sup>:
  
 
<source lang="bash">gradle bindist</source>
 
<source lang="bash">gradle bindist</source>
Line 28: Line 32:
 
  > Could not find property 'distribution' on configuration ':compile'.
 
  > Could not find property 'distribution' on configuration ':compile'.
  
2. Currently, gradle fails with the following message:
+
2. Currently, the javadocs are broken and gradle fails with the following message:
 +
 
 +
[...]
 +
100 errors
 +
100 warnings
 +
:javadoc FAILED
 +
 +
FAILURE: Build failed with an exception.
 +
 +
* What went wrong:
 +
Execution failed for task ':javadoc'.
 +
[...]
 +
 
 +
I have written a pull-request to work around this issue: https://github.com/gallardo/opencms-core/tree/patch-1
 +
 
 +
3. 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.
 
  > DOCTYPE is disallowed when the feature "<nowiki>http://apache.org/xml/features/disallow-doctype-decl</nowiki>" set to true.
  
 
I have written a pull-request to fix this bug: https://github.com/alkacon/alkacon-oamp/pull/30/files#diff-c197962302397baf3a4cc36463dce5ea
 
I have written a pull-request to fix this bug: https://github.com/alkacon/alkacon-oamp/pull/30/files#diff-c197962302397baf3a4cc36463dce5ea

Revision as of 14:21, 26 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

3. If you want to also build the opencms oamp, v8 or v7 modules, you also need to install in your local maven repository the corresponding jars2:

gradle install

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 task3:

gradle bindist


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, the javadocs are broken and gradle fails with the following message:

[...]
100 errors
100 warnings
:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
[...]

I have written a pull-request to work around this issue: https://github.com/gallardo/opencms-core/tree/patch-1

3. Currently, gradle fails with the following message:

> DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.

I have written a pull-request to fix this bug: https://github.com/alkacon/alkacon-oamp/pull/30/files#diff-c197962302397baf3a4cc36463dce5ea

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox