简体   繁体   中英

Command to run annotations in Intellij IDEA 12

I'm wondering if there is a way to run the configured annotation processors from a command ( build in, ant, external tool) so i can add it to my run configuration before "make".

The reasoning behind this is that I have a large Android project with multiple modules, but only my main module uses AndroidAnnotations. Now i have to rebuild the entire project every time i change something of importance in my main module, which adds to my build time. In IDEA 11, annotation processing was also run on "make", but the build system changed in 12.

Any ideas to trigger annotation processing via another way than "rebuild project" ?

此错误得到解决之前 ,在IDEA设置中切换到Eclipse编译器应该会有所帮助,否则批注在12.0.2版本中应该可以正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM