Commit 2d2581b5 authored by Ate Douma's avatar Ate Douma

TRIVIAL cleanup master

parent 6193e047

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
Hippo CMS
Copyright 2007-2018 Hippo B.V. (
This product includes software developed by:
Hippo B.V., Amsterdam, The Netherlands (;
The Apache Software Foundation (
NOTICE: Only our own original work is licensed under the terms of the
Apache License Version 2.0. The licenses of some libraries might impose
different redistribution or general licensing terms than those stated in the
Apache License. Users and redistributors are hereby requested to verify these
conditions and agree upon them.
# Build
Build with testing:
# This is not the branch you're looking for...
$ mvn clean install
BloomReach only provides the git trees for the release tags of Hippo CMS, as explained on
Build without testing:
To checkout the code for a specific release tag, after cloning this repository, use the following:
$ mvn clean install -DskipTests
## to show the available tags
Build with snapshot dependencies:
git tag
$ mvn clean install -Dhippo.snapshots=true
## to checkout a specific tag
Note: only needed when the project refers to SNAPSHOT dependencies!
git checkout <tag name>
Note: only effective when your Maven settings.xml file contains a profile
with this property for the Hippo snapshot repository. For details, see
## to modify a project
If you want to make modifications to a project, for example to create a patch, create a new fork branch from the specific tag like this:
# Front-end Installation and Building
* Run these commands from either the api or the console/frontend module
git checkout -b forked-<tag name> <tag name>
Install project dependencies
$ npm install
Build front-end code
$ npm run build
# Developing the front-end code (api module only)
After building the front-end code:
$ npm start
This will handle the following cases:
* If a change in a LESS file is detected it will recompile all LESS files, copy the theme to the CLASSPATH and (if
enabled) live-reload your browser.
* If a change in an image is detected it will re-create the SVG sprite and copy all images and icons to the CLASSPATH.
You need to start the CMS in Wicket Development Mode so it picks up front-end changes.
Run the CMS with Wicket development mode args:
$ mvn -P -Djrebel -Drepo.path=repo -Dcargo.jvm.args='-Dwicket.configuration=development'
# Live reload browser plugins
You need a browser extension to use live reload.
For the latter, also see the **Build from Source** documentation at
\ No newline at end of file
"bulletproof-font-face": 2,
"display-property-grouping": 2,
"empty-rules": 2,
"errors": 2,
"gradients": 2,
"import": 2,
"overqualified-elements": 2,
"rules-count": 2,
"selector-max": 2,
"selector-max-approaching": 2,
"star-property-hack": 2,
"text-indent": 2,
"underscore-property-hack": 2,
"vendor-prefix": 2,
"zero-units": 2,
"adjoining-classes": false,
"box-model": false,
"box-sizing": false,
"compatible-vendor-prefixes": false,
"duplicate-background-images": false,
"duplicate-properties": false,
"fallback-colors": false,
"floats": false,
"font-faces": false,
"font-sizes": false,
"ids": false,
"important": false,
"known-properties": false,
"outline-none": false,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false
* Copyright 2014-2017 Hippo B.V. (
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* See the License for the specific language governing permissions and
* limitations under the License.
'use strict';
var fs = require('fs');
module.exports = function (grunt) {
// load all grunt tasks automatically
// display execution time of each task
var buildConfig = require('./build.config.js');
build: buildConfig,
// Watch for file changes and run corresponding tasks
watch: {
options: {
livereload: true,
interrupt: false,
livereloadOnError: false
gruntfile: {
files: ['Gruntfile.js']
sass: {
options: {
livereload: false
files: ['<%= build.src %>/**/*.scss'],
tasks: ['sass', 'autoprefixer', 'csslint', 'concat:css', 'clean:tmp']
reloadCompiledCss: {
files: ['<%= %>/**/*.css']
extjsSass: {
options: {
livereload: false
files: ['<%= build.extjs.src %>'],
tasks: ['sass:extjs']
reloadCompiledExtJsCss: {
files: ['<%= %>']
images: {
files: ['<%= build.src %>/images/**'],
tasks: ['newer:copy:binaries', 'svgmin:theme']
svg: {
files: ['<%= build.svgsprite %>'],
tasks: ['newer:svgstore']