Skip to content

Contribute

Dénes Harmath edited this page Jul 19, 2016 · 82 revisions

Install development environment

  • Download & run Oomph Installer in advanced mode
    • Configure SSH
    • Product
      • Product Name: Eclipse for Java Developers
      • Product Version: Luna
    • Projects
      • Select catalog Github Projects
      • Use the green plus button to Add a project to the user project of the selected catalog with Resource URI https://raw.githubusercontent.com/viatra/incqueryd/master/hu.bme.mit.incqueryd.tooling/hu.bme.mit.incqueryd.setup/IncQueryD.setup
      • Double-click project IncQuery-D
    • Variables
      • JRE 1.7 Location. Typical locations are /usr/lib/jvm/default-java or /usr/lib/jvm/java-7-oracle/ (YMMV)
      • Target Platform: Luna
  • In the newly created & launched Eclipse:
    • Wait for the setup & build to complete
    • Clean the projects with compile errors

Run the integration test

Prepare

Install docker as described here.

Install Maven 3+:

sudo apt-get install maven

Build the dependencies and IncQuery-D:

cd scripts
./resolve-dependencies.sh
./build.sh

Test

Eclipse

  • Run scripts/build.sh
  • Run hu.bme.mit.incqueryd.runtime/scripts/start.sh
  • Run the Integration Test launch config
  • Run hu.bme.mit.incqueryd.runtime/scripts/stop.sh
Remote debugging
  • Place breakpoints in code that will be run remotely
  • Debug integration test
  • Wait until actor systems are deployed
  • Start the remote debug launch configs

Command line

  • Run scripts/build-and-test.sh
Clone this wiki locally