Compiler Plugin doesn't work anymore (ClassPostProcessingCompiler)

Hi All,

I'm the author of the delix-annotation-processor intellij plugin. For some reason does my compiler plugin will not longer be called as part of the compilation.
I use ClassPostProcessingCompiler interface. My class gets instanciated but the "process" method will never be called.

I tought before I start a bigger investigation I just ask if anybody has some hints to solve the problem.

thank you,
Daniel

3 comments

Hi Daniel,

New out of process compilation approach was introduced at v.12.0 (turned on by default). I believe your problem relates to that. Asked our compiler guy to provide detailed information on how the old API is compatible with the new one and what changes shall be made to existing compiler extensions.

Denis

0

Hi Daniel,

If compiler part of your plugin is an annotation processor only, the most universal way to process annotations will be using Oracle's standard annotation processing API. Of course, you may always plug into the new external build implementation (see org.jetbrains.jps.incremental.TargetBuilder and  org.jetbrains.jps.incremental.ModuleLevelBuilder interfaces). I'll be glad to assist you in porting your plugin to the new API, please do not hesitate to contact me directly.

Best regards,
  Eugene Zhuravlev

0

Can you provide further guidance on this?
I have the same issue and have not found any documentation on how to make the switch.

0

Please sign in to leave a comment.