Skip to content

(moved to the quickstart.md docu) Development Environment Setup

Milan Dojčinovski edited this page Sep 25, 2020 · 1 revision

Content moved to: https://github.com/dbpedia/extraction-framework/blob/master/documentation/quickstart.md

In near future, discard this wiki page.

Before you can start developing you need to take care of some prerequisites:

  • DBpedia Extraction Framework Get the most recent revision from the Github repository.

    $ git clone git://github.com/dbpedia/extraction-framework.git

  • Java Development Kit The DBpedia extraction framework uses Java. Get the most recent JDK from http://java.sun.com/. DBpedia requires at least Java 7 (v1.7.0). To compile and run it with an earlier version, delete or blank the following two files.(The launchers purge-download and purge-extract in the dump module won't work, but they are not vitally necessary.)

    core/src/main/scala/org/dbpedia/extraction/util/RichPath.scala

    dump/src/main/scala/org/dbpedia/extraction/dump/clean/Clean.scala

  • Maven is used for project management and build automation. Get it from: http://maven.apache.org/. Please download Maven 3.

This is enough to compile and run the DBpedia extraction framework. The required input files, the wikimedia dumps, will be downloaded by extractor code if configured to do so (see here).

If you'd like to use a IDE for coding there are a number of options:

  • IntelliJ IDEA Currently the most stable IDE for developing with Scala (prefered). To get the most recent Scala Plugin get the current early access version and install the Scala plugin from the official repository. Please follow the DBpedia & IntelliJ Quick Start Guide
  • Eclipse: Please follow the [DBpedia & Eclipse Quick Start Guide](Setting up Eclipse).
  • Netbeans also offers a Scala plugin.