Compile a demo JAR file from the Eclipse UI

Use Eclipse to compile a demo JAR file that you can add as a package to your Control Room.

Prerequisites

Before starting this task complete the steps in Update related workflow and build files.

Build a package file using a Gradle project in the Eclipse IDE.

Procedure

  1. Import the A2019DemoPackage as a Gradle project, File > Import > Gradle > Existing Gradle Project and click Finish.
  2. From the Gradle Tasks tab, go to <your project> > build and run the following tasks in order.
    1. <your project> > build > clean
    2. <your project> > build > build
  3. From the Gradle Tasks tab, go to <your project. > shadow and run the shadowJar task.

    Your compiled package file is located in file:\ \A2019DemoPackage\build\libs\. The package file has named after your project name (<your project>-1.0.0.jar).

Next steps

To add your custom package to your Control Room follow the instructions in Add packages to the Control Room.