Header Comments
search cancel

Header Comments

book

Article ID: 415728

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

Currently CA Plex generates many lines (first 17 lines or so) of commented headers in Java sources - all start with // (see any Java CA Plex generated source).

Is it possible that developers can control whether these lines are generated or not?

Environment

CA Plex 7.2.x and 7.3

Resolution

To disable the header information in the generated Java files, add the following option to the `[Options]` section of the local model's `.BLD file.

-----

[Options]

GenerateHeader=0

-----

After making this above change, save the .BLD file, open the local model and regenerate the function to verify the updated source code.

 

Additional Information

The provided solution is effective across C++, Java, .Net and RPG variants.

This option is only accessible via the local model's build file and is not available through the G&B window.