Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Running from source

Antonio García-Domínguez edited this page Oct 21, 2018 · 10 revisions

These instructions are from a clean download of an Eclipse Luna Modelling distribution and include all optional dependencies.

  1. Clone this Git repository on your Eclipse instance (e.g. using git clone or EGit) and import all projects into the workspace (File > Import > Existing Projects into Workspace).
  2. Open the org.hawk.targetplatform/org.hawk.targetplatform.target file, wait for the target definition to be resolved and click on Set as Target Platform.
  3. Close the _hawk_runtime_example project (it is an example project running Hawk in standalone mode) if you do not need it.
  4. Install IvyDE into your Eclipse instance (MAKE SURE YOU PICK IVY 2.4.0 - Ivy 2.5.0cr1 has some issues while retrieving dependencies at the moment), right click on org.hawk.neo4j-v2.dependencies and use "Ivy > Retrieve 'dependencies'". The libraries should appear within Referenced Libraries.
  5. Use IvyDE in the same way for the org.hawk.orientdb, org.hawk.greycat, org.hawk.localfolder, org.hawk.service.artemis and org.hawk.service.server.users.servlet projects (essentially, all projects containing a file named ivy.xml).
  6. Download the dependencies mentioned in org.hawk.ifc/lib/README.txt or close all *ifc* projects if you are not interested in indexing IFC models.
  7. Force a full rebuild with Project > Clean... > Clean all projects if you still have errors.

After all these steps, you should have a working version of Hawk with all optional dependencies and no errors. You can now use "Run as... > Eclipse Application" to open a nested Eclipse with the Hawk GUI running inside it.