CA Gen java compile fails during the build process for the below reason. The generated java method is too large and it signals the compiler to fail. Its little difficult split the code and gen, as there many modules fails for this reason.
[echo] ...Verifying Action Block Classes
[echo] ...Compiling Action Block Classes
[javac] Z:\jvm\java\MLGSPC01.XML:450: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 199 source files to Z:\jvm\java\classes\XXXXXX01
[javac] Z:\jvm\java\m54714429\XXXXX142.java:4691: code too large
[javac] public void f_55239209()
[javac] 1 error
Z:\jvm\java\MLGSPC01.XML:450: Compile failed; see the compiler error output for details.
Total time: 1 minute 51 seconds
Generating code using a CSE and then installing with a Windows Build Tool.