Skip to content

Setting up intellij idea

kkasunperera edited this page Apr 13, 2013 · 4 revisions

For developing DBpedia extraction-framework on Ubuntu. (The guide below was created using version 12.0 of IDEA.)

Download IDEA

  1. From http://www.jetbrains.com/idea/download/index.html download the Community version available for Ubuntu(Linux).
  2. Go the the downloaded path
  3. Unpack the idea-12.0.tar.gz file using the following command: tar -zxvf idea-12.0.tar.gz
  4. go to the /bin sub-directory (change permission of the of idea.sh file if needed using chmod +x idea.sh)
  5. Run idea.sh from the bin sub-directory using ./idea.sh command.

Install the Scala Plugin

On the start screen, on the top left corner: Go to Open> Settings > IDE Settings > Plugins > Browse Repositories > search for Scala > right-click on Scala > Download and install > Restart

Set up Maven

Please install Maven3. Builds with Maven2 are not supported any more.

You will need to set up M2_HOME (yes, even if it is Maven3) as an environment variable in your ~/.bashrc and/or ~/.profile, or the path to your Maven home directory in IDEA under File > Settings > Maven > Maven home directory

Checkout Code

VCS > Checkout from version control > Git > https://github.com/dbpedia/extraction-framework.git

Create project

File > New project... > Import project from external model > Maven > Root directory: $PATH_TO_DBPEDIA_EXTRACTION_FRAMEWORK_CODE

Tick "Import maven projects automatically"

Next > Next > Finish

You are good to go

Clone this wiki locally