Unofficial Content
  • This documentation is valid for:

The compilation process for java applications generated with GeneXus X Evolution 1 has been enhanced. With these improvements the compilation time has been greatly reduced.

The compilation output has changed too. Previously the output showed the message “Building <object>… success” for almost every object included in the call tree of the main object being compiled; now it only shows the message "Build succeeded" for every main object and/or for the developer menu.

In general terms, the former compilation process would call the java compiler (javac.exe) for every object in the call tree, this new version creates a list of objects and calls the java compiler only once with that list; this is done for each main object.

For each main object, if any compilation fails, it does not compile the following objects in the list, but it performs a check on them instead. This way, errors found in every object compilation can be shown in the output. This is similar to the former process where the compilation continued after compilation failures and the output showed every error.

This new compilation process consumes more memory than the former one. By default the maximum memory for the compiler is set to 512 MB. If that is not enough it can be changed in the Compiler options, one of the Java generator's properties. For instance, the property can be set as follows to increase the maximum memory to 1024 MB:

-J-Xms512m -J-Xmx1024m

The make program GXJMake.exe and the specification process have been modified in order to achieve this enhancements.



Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant