OpenESB Studio project clone and build

Prerequisites

We deeply recommend the OpenESB developer to use the latest OpenESB studio to develop, improve and build the OpenESB Studio. The project netbeans-soa has been designed to work easily with NetBeans. Nevertheless, another IDE such as Netbeans or IDEA can be used with few modifications. The latest netbeans-soa code has been built and tested with Studio 3.1.0 or NetBeans 8.2. Using other NetBeans version or IDE is at your own risk.

  • Java JDK 1.8
  • OpenESB Studio 3.1.0 + or Netbeans 8.2

Step 01

Use git to download the OpenESB studio source code from the OpenESB Bitbucket directory https://bitbucket.org/openesb/netbeans-soa.git

Type: git clone https://bitbucket.org/openesb/netbeans-soa.git

Step 02

Open the OpenESB studio or NetBeans 8.2 and then load the project “OpenESB Studio Community Edition”. The project can be found in your machine at the root of the oPENesb STUDIO source code. Open the project with the IDE and then clean and build it.

Step 03

When the first build is complete, generate the package regarding your need. The OpenESB Studio package can be a Zip file (used by the OpenESB distribution), NetBeans Modules (NBM), a Mac OSx Application or Windows or Linux installers. We advise the user to use the Zip file to be compliant with the OpenESB distribution.

The zip file, the installers for Windows and Linux or Mac OS can be found in the directory .../netbeans-soa/dist/

 

Tips to debug OpenESB Studio

Debugging the OpenESB studio is slightly different from a classical Java development, it requires some explanation. To run and debug your development, you must start it from OpenESB or NetBeans.

  • Open the module project you want to debug
  • Put breakpoints in your code
  • Click right on the project and then select debug. Notice that OpenESB Studio switch automatically in the Debug mode.
  • After a while a new instance of the studio opens (don’t run or debug from the root project, it will take more time to Start)
  • Run the feature you want to debug
  • OpenESB studio stops at the breakpoint.

Have a look at the OpenESB documentation for more detail on the debugger.