In B4x (B4A / B4J), I would like to apply some of my own optimizations. In order to do so, I'd like to use a command line find and replace tool (similar to sed in linux).
So far, I have no problems altering the generated Java file from the command line, but I'm unable to do so using the #CustomBuildAction attribute.
So, my question is, how can I alter the B4x generated Java code, just before it gets compiled?
EDIT: I want to alter the Java code BEFORE it gets compiled, not after.
So far, I have no problems altering the generated Java file from the command line, but I'm unable to do so using the #CustomBuildAction attribute.
So, my question is, how can I alter the B4x generated Java code, just before it gets compiled?
EDIT: I want to alter the Java code BEFORE it gets compiled, not after.
Last edited: