-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Hacking on Aeron
mjpt777 edited this page Nov 2, 2014
·
18 revisions
The Aeron project has set up the gradle build such that it is able to generate the appropriate eclipse project configuration files. To get up and running in Eclipse you need to do the following
- Install the latest JDK 8 from Oracle.
- Install the JDT 8 Beta for Eclipse Kepler
- Create a new JDK configuration within Eclipse pointing at the freshly installed JDK8. Make sure that you give this JDK the name 'JDK1.8'.
- Clone the Aeron project.
- Run ./gradlew eclipse.
- From Eclipse go to 'Import' -> 'Import Existing Projects into Workspace'. Select the directory contain the cloned Aeron project. Ensure that you check the 'Search for nested projects' option. Click Finish.
You should now have 5 new projects within Eclipse:
- Aeron
- aeron-client
- aeron-common
- aeron-driver
- aeron-samples
IDEA imports gradle build files itself, but unfortunately due to a bug you need to use gradle 1.10 rather than 1.11. 1.10 works fine with the gradle build.
- Install the latest JDK 8 from Oracle.
- Download Gradle 1.10 and extract it to a directory.
- Clone the Aeron project.
- Run ./gradlew to setup the build.
- Inside IDEA go 'File' -> 'Import Project' then select the top-level build.gradle. Choose the 'Use local gradle distribution' option and select the directory you installed gradle into previously and click ok.
You should now have a top level "Aeron" project with 4 sub-modules.