Skip to content

Add a N&N entry for Eclipse JDT to promote the support of multi-release jar compilation #424

@laeubi

Description

@laeubi

It should cover the topic of Native Multi Release Compilation support in JDT:

JDT now supports compilation of "Multi-Release-Types", that is the same class exits in different variants with the same name and can simultaneously be edited and compiled and automatically be placed in appropriate output folders.
It maps to an approach described as "Pattern 3: Single Project" described here https://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html and as described in the "Challenges" section currently there is no good IDE support for that case, we solve this now by using the "highest" JDK and compile individual class files with the according release option.
The other patterns work, but they require a much more sophisticated setup in the IDEs and are usually not directly executable or requires a lot of custom configuration:

Now it becomes incredible simple when used with Eclipse IDE/JDT by just setting a simple option the classpath dialog of a source folder!

To promote this new feature we should write a good summary as a N&N entry;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions