Skip to content
Quinn Hanam edited this page Sep 26, 2017 · 1 revision

Set Up in Eclipse

The build has not been fully automated. CommitMiner depends on specialized forks of GumTree and Rhino, which have not been glued into a single build (GumTree uses Gradle, while CommitMiner and Rhino use Maven). For now, these three projects can be glued together with Eclipse. Instructions below.

Start by cloning the following three projects:

Import these projects into a new Eclipse workspace:

  • CommitMiner: the root directory can be imported with Maven.
  • CommitMiner-Gumtree: Import the following two sub-projects with Gradle
    • core
    • gen.js
  • Apache Rhino: the root directory can be imported with Maven.

Glue the projects together in Eclipse by assigning the following project dependencies:

  • commitminer-core
    • core (GumTree core)
  • commitminer-js
    • core
    • gen.js
    • rhino
  • commitminer-js-diff
    • core
    • gen.js
    • rhino
  • commitminer-js-learn
    • core
  • commitminer-learn
    • commitminer-core
    • core
  • commitminer-main
    • core
  • gen.js
    • rhino
  • rhino
    • core

Clone this wiki locally