


Open “Window” -> “Preferences” -> “Scala” -> “Compiler” -> “Advanced” and put into the “Xplugin” field the path to the macroparadise jar file (typically “/home/ -your-user-/.m2/repository/org/scalamacros/paradise_2.10.4/2.0.1/paradise_2.10.4-2.0.1.jar”). Add the “macroparadise” compiler plugin to the Scala compiler.See How to setup Eclipse for download links and instructions. Download the Scala IDE (preferred) or install the plugin to Eclipse Kepler.Note: Before following this setup, make sure to run the build from the command line once ( mvn clean install -DskipTests see below). While this is a slightly older version, we found it to be the version that works most robustly for a complex project like Flink.įurther details and a guide to newer Scala IDE versions can be found in the How to setup Eclipse docs. Eclipse Scala IDEįor Eclipse users, we recommend using Scala IDE 3.0.3, based on Eclipse Kepler. The IntelliJ IDE supports Maven out of the box and offers a plugin for Scala development.Ĭheck out our Setting up IntelliJ guide for details. Support for Java and Scala (also mixed projects).The Flink committers use IntelliJ IDEA (recommended) and Eclipse IDE to develop the Flink Java/Scala code base. Setup an IDE and import the source code of Java/Scala If you are behind a firewall you may need to provide Proxy settings to Maven and your IDE.įor example, the WikipediaEditsSourceTest communicates over IRC and need a SOCKS proxy server to pass. See the Azure Pipelines Wiki page for details on setting up Azure for CI. The code is downloaded into a directory called flink.

Once you have a fork of Flink’s repository in your personal account, you can clone that repository to your local machine. This is done by clicking on the Fork button on the upper right of the repository website. Forking a repository means that GitHub creates a copy of the forked repository for you. For that, you need to have a GitHub account or create one for free. The common way to exchange code on GitHub is to fork the repository into your personal GitHub account. Unix-like environment (We use Linux, Mac OS X, and Cygwin)Īpache Flink’s source code is stored in a git repository which is mirrored to GitHub.Requirements for developing and building Flink In addition to this guide, also see the latest Flink documentation on the website.
