Eclipse IDE Setup
The Eclipse environment is used for platform development and editing of the internal GridAPPS-D Java code used by GOSS-GridAPPSD and other platform packages.
Application developers do not need to set up this environment
Download or clone the repository from github
Install github desktop or sourcetree
Clone the GOSS-GridAPPS-D repository or download the GOSS-GridAPPS-D source
Install java 1.8 SDK and set JAVA_HOME variable
Install Eclipse http://www.eclipse.org/downloads/packages/release/Mars/1 (Mars 4.5.1 or earlier, 4.5.2 appears to have bugs related to bundle processing) TODO what about neon?
Open eclipse with workspace set to GOSS-GridAPPS-D download location, eg. C:UsersusernameDocumentsGOSS-GridAPPS-D
Install BNDTools plugin: Help->Install New Software->Work with: http://dl.bintray.com/bndtools/bndtools/3.0.0 and Install Bndtools 3.0.0 or earlier
Import projects into workspace
File->Import General->Existing Projects into workspace
Select root directory, GOSS-GridAPPS-D download location
Select cnf, pnnl.goss.gridappsd
If errors are detected, Right click on the pnnl.goss.gridappsd project and select release, then release all bundles
If you would like to you a local version of GOSS-Core (Optional)
Update cnf/ext/repositories.bnd
Select source view and add the following as the first line
aQute.bnd.deployer.repository.LocalIndexedRepo;name=GOSS Local Release;local=/GOSS-Core2/cnf/releaserepo;pretty=true,
verify by switching to bndtools and verify that there are packages under GOSS Local Relase
Open pnnl.goss.gridappsd/bnd.bnd, Rebuild project, you should not have errors
Open pnnl.goss.gridappsd/run.bnd.bndrun and click Run OSGI