Nuxeo Core Developer Guide

Eclipse setup

Updated: October 22, 2018 Page Information Edit on GitHub

Install Eclipse

Download and install Eclipse from https://www.eclipse.org/downloads/.

Import Nuxeo Source Code in Eclipse

Before importing Nuxeo source code in Eclipse, you need to generate Eclipse project files in terminal. Compared to doing it in Eclipse, using the command-line makes the process much faster. Please launch the following command at the root of the Git repository.

Generate Eclipse's project files with maven-eclipse-plugin

mvn eclipse:clean eclipse:eclipse \
    -Paddons,distrib -fae -nsu -T 1C \
  [ -DdownloadSources=true ] \
  [ -DdownloadJavadocs=true ] \
  [ -Declipse.useProjectReferences=true ] \
  [ -Declipse.workspace=/path/to/eclipse/workspace ]

You should then run the following script to make Eclipse use different build directories than Maven:

Linux and OS X

./fixeclipse

Windows

python scripts/fixeclipse.py

Now, you can import Nuxeo modules into Eclipse:

File -> Import -> General -> Existing Projects into Workspace
2 months ago manonlumeau NXDOC-1650 fix about integrating changes, add mention on multiple attempts
4 years ago Julien Carsique 9
4 years ago Julien Carsique 8
4 years ago Anahide Tchertchian 7 | add reference to detailed code style pages
6 years ago Julien Carsique 6
7 years ago Olivier Grisel 3
7 years ago Olivier Grisel 4
7 years ago Olivier Grisel 5 | Migrated to Confluence 4.0
7 years ago Mathieu Guillaume 2 | svn -> hg
7 years ago Julien Carsique 1
History: Created by Julien Carsique

We'd love to hear your thoughts!

All fields required