Skip to content

Eclipse Setup for iObserve

Reiner Jung edited this page Sep 25, 2016 · 23 revisions

The iObserve project comprises several different repositories used for various artifacts used to realize the iObserve approach. To improve inter interoperability, between different research groups, we defined the following setup instructions for your Eclipse environment.

The present configuration is tested with Eclipse Neon, but should also work with Mars.

Prerequisites

  • Java JDK 8
  • Eclipse Neon
  • Eclipse Gradle support
  • Eclipse support for Checkstyle
  • Eclipse support for Findbugs (optional)
  • Eclipse support for PMD (optional)

Coding Conventions

We know that people might have different coding conventions in different projects, this tutorial instructs how to setup the formatter and the editor in for the iObserve project specific manner. If you want these coding styles to be present in all projects you have to deviate from the given instructions or reproduce the setup for every project.

As iObserve comprises multiple Eclipse projects, it is preferable to use a workspace wide configuration. Therefore, we encourage you to create a separate workspace for iObserve and follow these instructions.

Please note that we use Xtend and Java to implement parts of iObserve. Therefore, several preferences must be configured for both languages.

To start the configuration: Start Eclipse and open the Preferences page (Windows > Preferences)

Setup the Clean Up

Unfold the Java Code Style option and then Clean Up. This will open the clean up form in the dialog. Check the Enable project specific settings. This enables all the dialog options below.

Clone this wiki locally