I wanted to know if anyone using IntelliJ could compile Orekit using the javac compiler ?
On my end, i can compile it just fine until release 10.1 with the introduction of the DefaultDataContext which seem to be the cause of my compilation error in addition to a huge penalty in compilation time when using Eclipse compiler.
For now i must switch to the eclipse compiler but it is a bit of a bother to change that everytime my configuration is reset .
Ok i may have found something, it seems that we need to define the path to the Annotation processors in Build,Execution,Deployment â Compiler â Annotation processors.
However and by default, the IDE doesnât find the path even though the pom indicates to look inside :
Hence i think we need to fix the pom but still have not found how. I have been trying several fix with <annotationProcessors>but nothing worked so far.
I use IntelliJ. I didnât know about choosing Eclipse mode, so I assume Iâm using javac mode? Running individual tests from the editor works fine. Some things that help are:
Explicitly use a 1.8 JDK (which Iâm sure you already do) in the project settings
Use maven to perform a âcleanâ and âcompileâ
Right-click on the âcompilerâ folder (which contains the DefaultDataContextPlugin) in the project outline and select âMark directory as â Excludedâ