Skip to content

IDE setup

Matt Berteaux edited this page Mar 4, 2016 · 6 revisions

Table of Contents

Introduction

This document is for users who want to import the Gobblin code base into an IDE and directly modify that Gobblin code base. This is not for users who want to just setup Gobblin as a Maven dependency.

IntelliJ Integration

Gobblin uses standard build tools to import code into an IntelliJ project. Execute the following command to build the necessary *.iml files:

./gradlew clean idea

Once the command finishes, use standard practices to import the project into IntelliJ.

Make sure to include -PuseHadoop2 in the above grade command, if you want to work in the gobblin-yarn directory.

Eclipse Integration

Gobblin uses standard build tools to import code into an Eclipse project. Execute the following command to build the necessary *.classpath and *.project files:

./gradlew clean eclipse

Once the command finishes, use standard practices to import the project into Eclipse.

Make sure to include -PuseHadoop2 in the above grade command, if you want to work in the gobblin-yarn directory.

Lombok

Gobblin uses Lombok for reducing boilerplate code. Lombok auto generates boilerplate code at runtime if you are building gobblin from command line.If you are using an IDE, you will see compile errors in some of the classes that use Lombok. Please follow the IDE setup instructions for your IDE to setup lombok.

Clone this wiki locally