Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Java Annotations problem

What is the underlying JDT in 0.26.0 / 1.0.0?

https://github.com/eclipse/tycho/blob/tycho-0.26.0/pom.xml#L95
https://github.com/eclipse/tycho/blob/tycho-1.0.0/pom.xml#L95


    Is it controllable?

you can override the default JDT/APT artifacts used (although I don't think this is the solution to the problem at hand). Make sure they match though. See e.g.
https://github.com/eclipse/eclipse.platform.releng.aggregator/blob/2df84b9e959fdc0476113913dd1aa4db1a14b0d4/eclipse-platform-parent/pom.xml#L436-L446


    Is there some configuration magic for Java annotation paths?

not that I know of, unless you are talking about annotation processing to generate sources, see
https://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#annotationProcessors
https://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#generatedSourcesDirectory


The point that you are getting different errors/warnings may be simply related to your compiler errors/warnings configuration.
Since 1.0.0 .settings/org.eclipse.jdt.core.prefs is used by default, see announcement
https://wiki.eclipse.org/Tycho/Release_Notes/1.0.0

Jan



Back to the top