6.2How to add a specific library (Lib Def)

To add a specific library in the generated project after generation, you manage a Lib Def.

Sample: Add the libraries for Drools (see Figure 1).

output_html_m5e8cc046.png

Figure 1: Drools lib specification

6.2.1New Lib Def

To create a new Lib Def, you go to “Lib Def Config” on the Workflow tree (right click -see Figure 2). A dialog box is displayed (see Configuration).

output_html_m4334046a.png

Figure 2: Lib Def Config menu

6.2.2Configuration

On the first dialog box (see Figure 3) you define several properties:

  • Name: drools (for the example).
  • Project type: entities, service and web (for the example).

output_html_6cf3022c.png

Figure 3: Lib Def – Configuration

Click on Next to continue. A new dialog box is displayed (see Figure 4).

output_html_m43c4655.png

Figure 4: Lib Def – Configuration – Adding lib

You have to add the specific libraries.

Click on Finish to validate.

You can view the new Lib Def in the Workflow tree (see Figure 5).

output_html_b434601.png

Figure 5: Lib Def – Drools Lib Def

Once the generation is executed, you can see that the drools libraries are integrated into the generated project (see Figure 6).

output_html_m49993be3.png

Figure 6: Lib Def – Custom lib Drools


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission