Import EventMesh into eclipse

We recommend using Intellij IDEA for development, if you wish to use Eclipse, you can refer to the following steps to import the project.

1. Dependencies

  1. 64-bit JDK 1.8+.
  2. Gradle is at least 7.0, 7.0.* recommended;
  3. eclipse installed gradle plugin or eclipse comes with gradle plugin;

2. Download source code

  1. git@github.com:apache/eventmesh.git

3. Project compile eclipse environment

Open a command line terminal and run gradlew cleanEclipse eclipse

4. Configuration changes

Modify the project name to match the settings.gradle configuration file parameter rootProject.name.

5. Modify eclipse.init configuration file, configure lombok to 1.18.8 version for example

  1. -javaagent:lombok-1.18.8.jar
  2. -XBootclasspath/a:lombok-1.18.8.jar

6. 202106 version, eclipse.init add configuration parameters

  1. --illegal-access=permit

7. Import projetc

Open eclipse, import gradle project to IDE.