eclipse-plugins icon indicating copy to clipboard operation
eclipse-plugins copied to clipboard

Improve the build configurations

Open ilg-ul opened this issue 4 years ago • 4 comments

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.

ilg-ul avatar Nov 08 '20 20:11 ilg-ul

Alexander @ruspl-afed, is there any improvement to consider here?

ilg-ul avatar Dec 05 '20 18:12 ilg-ul

I would suggest to employ Eclipse Oomph, it is very helpful to automate workspace setup, perhaps next release cycle.

ruspl-afed avatar Dec 08 '20 19:12 ruspl-afed

Eclipse Oomph?!

It looks like I have a new homework to do...

ilg-ul avatar Dec 08 '20 19:12 ilg-ul

no need :) I can try it when time permits, it should be similar with what we have in CDT

ruspl-afed avatar Dec 08 '20 19:12 ruspl-afed