clean up build
-
provide shell script build_local.sh -
rename test dir to local -
move all ant dependencies from .gitlab-ci.yml into shell scripts -
rename ant default build target to build -
add to build.xml:
!!! The rule is, the first line that sets a property wins. !!! The construct is usually used to include a file called build.properties. This is a convention used so that you can override default values for your local build environment, without having to modify build.xml (which may, after all, be a shared file, under version control). This means that build.properties should probably not be under version control (add it to .gitignore under git).
-
redefine properties according to the aforesaid -
include generic SADE build.properties -
use setpermissions (ant v1.10+) for chmod +x bin/*.sh -
rename default lucene config files -
use gitlab-ci variables to load build properties according to the branch the build is running on: example
Edited by Stefan Hynek