Skip to content

Understanding the Code Structure

Joseph Lansdowne edited this page Jun 10, 2020 · 6 revisions

Tools

  • Maven is used for Java compilation and constructing the .war files
  • Grunt tasks are used for watching and refreshing static resources (i.e. JavaScript, CSS, and HTML) without having to restart the Sprint Boot Java server.
  • NPM and Bower are used to manage frontend dependencies (i.e. JavaScript libraries, mostly). These are automatically run in the Maven process-sources phase.

Maven Modules

Find consists of four modules:

  • core contains the core application components which are not specific to either IDOL. When built, it created a jar file that is imported by the idol module
  • idol contains the IDOL-specific code. When built, it creates an executable war file for running against IDOL.
  • on-prem-dist is responsible for packaging the IDOL artifacts into a zip file for distribution.

Maven Profiles

During development, the develop profile should be used. Running with the production profile will minify the JavaScript and CSS, and bless the CSS for older versions of Internet Explorer.

Clone this wiki locally