Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
trickyBytes committed May 5, 2016
0 parents commit d0996b7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Synopsis
This repository holds the projects necessary to build the National Household Model Standalone (IDE), the IDE utilises the open-source [Eclipse] (http://www.eclipse.org/) IDE and adds customisation to allow the editing of scenarios (a *DSL for describing simulation events for the National Household Model), importing house stocks from structured CSV files and running simulations using the model. The implementation of the model is available from a separate repository detailed in External Project Dependencies.

# Installation
To build the Standalone project locally both the OSGI Bundles, [National Household Model] (https://github.com/cse-bristol/national-household-model-core-components) and [National Household Model Documentation] (https://github.com/cse-bristol/national-household-model-documentation) need to be compiled as jars and installed within a local Maven repository.

## OSGI Bundles
OSGI is the way customisation's can be added to the Eclipse IDE, typically these should be compiled and hosted in a P2 repository, the repository location should then be defined in the repositories element of the IDE pom file.

### API - nhm-api-bundle
Defines the Application Programming Interface for an NHM Bundle. This is a Gradle project and should be configured to push the generated p2 bundle into a p2 repository.

### IMPL - nhn-bundle-impl
This is an implementation of the API bundle, the project will need to be updated when the IDE needs to include new commits to [National Household Model] (https://github.com/cse-bristol/national-household-model-core-components) or [National Household Model Documentation] (https://github.com/cse-bristol/national-household-model-documentation). Again this is a Gradle project and has the same installation requirements as the API Bundle. See the Gradle build file for current dependencies.

## Standalone - Eclipse IDE
Uses Maven(3) to build the project.

This is the customised Eclipse IDE, in order to build correctly it depends on API Bundle, IMPL Bundle and [National Household Model Documentation] (https://github.com/cse-bristol/national-household-model-documentation). The Model and Documentation projects should be either installed in a local or remote repository, the Bundles should be available in a local or remote P2 repository. The locations of remote respositories can be configured in the repositories element of the build file (pom.xml).

Creates Standalone binaries for the linux (32 and 64 bit), Windows (32/64 bit) and Mac OSX Cocoa.

In order to sign the created application you will need to 'sign' the build with a secure key, the location of the keystore and passphrase can be configured in your maven settings file. See the maven-jarsigner-plugin in the pom file.

## External Project Dependencies
1. [National Household Model] (https://github.com/cse-bristol/national-household-model-core-components) - This is the model part of the National House Hold model.
2. [National Household Model Documentation] (https://github.com/cse-bristol/national-household-model-documentation) - Provides the help/reference guide to the NHM within the IDE.

## Binaries - Compiled Executables of the Standalone IDE
TODO

# License
[Open Government License] (http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)
1 change: 1 addition & 0 deletions nhm-bundle-api
Submodule nhm-bundle-api added at f437a5
1 change: 1 addition & 0 deletions nhm-ide
Submodule nhm-ide added at f27f01
1 change: 1 addition & 0 deletions nhm-impl-bundle
Submodule nhm-impl-bundle added at e6be7a

0 comments on commit d0996b7

Please sign in to comment.