Annotation Processing with 12.1.4 and 130.1486 both Community editions
Hi, I think I went through all the possible options, but can't get it to work.
I have a jar file in a additional folder, this file holds the annotation processor.
So this file is (with full path) put in the Compiler>Annotation Processors>Processor path.
In my case it's the C:\Prj\Android Java\FalconOil\AnnotationProc\compot-apt.jar file (to make everything fully clear).
In this file there are two processors.
com.compot.model.StaticMetamodelAnnotationProcessor
com.compot.model.MetamodelBuilderAnnotationProcessor
The output of the processors is needed during further compilation, so I put compotGen in to the
Production sources directory box. And select the Module content root option.
OK, so needles to say I enabled the Enable annotation processing box (else I would not be able to fill in any of the above mentioned options)
Then in the Project Structure dialog under Modules I add the compotGen folder to the source folders under the 'Add Content Root'
But now, at first when I do a Build, Rebuild Project I get the following error
java: java.lang.RuntimeException: javax.annotation.processing.FilerException: Attempt to recreate a file for type com.compot.CompotStaticModel
When I try this project in Eclipse everything works like a breeze. ButI don't like Eclipse. I like Jetbrains much more!!!!
Where do I have to do what to get my annotions processed with IntelliJ IDEA 12.1.4 and 130.1486.?????
Production sources directory box. And select the Module content root option.
OK, so needles to say I enabled the Enable annotation processing box (else I would not be able to fill in any of the above mentioned options)
Then in the Project Structure dialog under Modules I add the compotGen folder to the source folders under the 'Add Content Root'
But now, at first when I do a Build, Rebuild Project I get the following error
java: java.lang.RuntimeException: javax.annotation.processing.FilerException: Attempt to recreate a file for type com.compot.CompotStaticModel
When I try this project in Eclipse everything works like a breeze. ButI don't like Eclipse. I like Jetbrains much more!!!!
Where do I have to do what to get my annotions processed with IntelliJ IDEA 12.1.4 and 130.1486.?????
Please sign in to leave a comment.