eclipse-plugins
eclipse-plugins copied to clipboard
Improve the build configurations
Due to historical reasons, the Eclipse projects used several build tools, initially as JDT only, later maven was added.
As of now, projects have multiple natures:
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
</natures>
and
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
For compatibility with maven the output folder defined in .classpath is
<classpathentry kind="output" path="target/classes"/>
In a message posted on embed-cdt-dev list, Alexander mentioned:
But do you have similar error when you compile this project in Eclipse IDE (not with Maven, but with PDE) using the updated target. I'm asking because Eclipse PDE can highlight some issues with .target or with dependencies.
Verify if the current configuration allows the builds that Alexander mentioned, and possibly improve them.
Alexander @ruspl-afed, is there any improvement to consider here?
I would suggest to employ Eclipse Oomph, it is very helpful to automate workspace setup, perhaps next release cycle.
Eclipse Oomph?!
It looks like I have a new homework to do...
no need :) I can try it when time permits, it should be similar with what we have in CDT