Vertispan / j2clmavenplugin

Maven plugin to launch new J2CL compilation
https://vertispan.github.io/j2clmavenplugin/
Apache License 2.0
53 stars 26 forks source link

Support letting maven run annotation processors to generate code #112

Open niloc132 opened 2 years ago

niloc132 commented 2 years ago

This mode would need to come with the warning that j2cl:watch would not be able to automatically update until after mvn compile or the like had completed. This ticket exists as a placeholder for an incomplete feature, and also as a way to see if it actually matters, or if our current approach is sufficient.

niloc132 commented 1 year ago

It may be that this works property with the existing configuration setting if you run mvn compile j2cl:watch instead of just mvn j2cl:watch for a reactor project. Try that with <annotationProcessorMode>PREFER_MAVEN</annotationProcessorMode> , and just run mvn compile or ask the IDE to run APT when you think it is necessary.