Building Opencms 9.5.x from the sources

From OpenCms Wiki
Revision as of 10:08, 25 September 2014 by Alberto Gallardo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: this is work in progress

1. Checkout the sources of the build_9_0_1 version:

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

2. Add property distribution to your gradle.properties file.

[...]
version_number=9.0.1
distribution=9.0.1
java_target_version=1.6
[...]

If you forget this step, you'll get a:

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

error message when executing gradle.


Progress notes

Now I'm stuck with the next error:

> Could not find method compile() for arguments [build_66vfsivvgoi9l7qtl267sk8h5p$_run_closure2_closure44@35764bef] on root project 'opencms-core'.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox