Building Payara Tools NetBeans IDE Plugin

As Apache NetBeans IDE provides out-of-the-box support for Payara Platform, the source code for the Payara Platform tools is contained within the NetBeans Code Repository.

Full, up-to-date build instructions for the Apache NetBeans IDE can be read on the README file in the Apache NetBeans IDE repository

Prerequisites

Before building the Apache NetBeans IDE and subsequently the Payara Platform Tools for Apache NetBeans IDE, you will need to configure your local environment. Subsequent builds will not require these steps.

Clone the Apache NetBeans Repository

You must first clone the repository where the plugin source code is stored. Apache NetBeans Code Repository

Install Apache Ant

Apache Ant is the build tool for the Apache NetBeans IDE and must be configured locally. Install Apache Ant

JDK 11

JDK 11 is required to build and run Apache NetBeans

If you are building Apache NetBeans on Windows. Program Files must be replaced with PROGRA~1 and Program Files (x86) must be replaced with PROGRA~2 in your ANT_HOME environment variable.

Payara Tools Code

The Payara Tools plugin code is split into five modules, these are all located under the enterprise directory:

To test any code changes, recompile the modified module, then rerun the IDE build using ant tryme.