Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SADE SADE
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SADESADE
  • SADESADE
  • Issues
  • #99
Closed
Open
Issue created Nov 13, 2019 by Stefan Hynek@hynek🤤Owner

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 Dec 03, 2019 by Stefan Hynek
Assignee
Assign to
Time tracking