Change IntellIj settings via Run/Debug configuration

Answered

Hey together :)

I've got a strange issue during my daily working process and hope you can help me in this case. I found a similar topic (https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000389984-Disabling-of-annotation-processing-is-lost-on-maven-reimport) but there is no solution which fits for me. So I try to describe my problem shortly.

When I work on a local or remote branch and switch back to the master the value for the IntelliJ setting 'Enable annotation processing' for my 'Maven default annotation processors profile' sometimes (not every time) changes. Also when I reimport my maven depencies. I have to disable annotation processing so that my tomcat (and other configurations or build processes) can start/run succesfully.

First of all, is there a way to prevent IntelliJ from changing this value? Otherwise I thought about setting this value via my Run/Debug configuration. Is this possible?

You can find the setting via File | Settings | Build, Execution, Deployment | Compiler | Annotation Processors.

 

Thx and best wishes 
Martin

0
7 comments

Hi. Could you please provide idea.log (Help | Show log...)?

0
Avatar
Permanently deleted user

Here is the link for the log:

https://drive.google.com/open?id=1teOzLWSkupV87hj5iQGm0LcTO9gwFGM_

Today (20th of Decemeber) I've checked out the master and the problem occured again.

0

Does the problem reproduce on 2019.3?

0
Avatar
Permanently deleted user

@... I don't have tried 2019.3 yet because of our company policy. We're using a selfmade framework which is not always compatible with the newest version of IntelliJ. They have to check this first before a version is released for us developers. But i don't think that it don't have any positive affects on the described behaviour. In previous versions everything was the same

0
Avatar
Permanently deleted user

A collegue of mine is working on 2019.4 and the problem is still current.

It always occures when maven is interacting as he told me.

0

Hi.

We have a related issue, please follow https://youtrack.jetbrains.com/issue/IDEA-169048

0
Avatar
Permanently deleted user

Okay thank you :)

0

Please sign in to leave a comment.