[oe] [meta-java] Unify virtual java providers

Maxin B. John maxin.john at intel.com
Wed Aug 31 08:31:15 UTC 2016


On Tue, Aug 30, 2016 at 04:37:53PM +0200, Pascal Bach wrote:
> Hello
> Because I'm experimenting with different java providers (OpenJDK, Oracle Java, Azul Zulu) and thus had a look at different java layers (meta-java, meta-oracle-java).
> I noticed that there are many different PROVIDES statements among these recipes, but nothing seems consistent.
> My proposal is thus to introduce a consistent naming for these provides so that recipes that depend on java can be written in a JRE/JDK independent way.
> The naming would be the following:
> - virtual/java => recipes providing a java runtime for the target (used in meta-oracle-java, replaces: java2-runtime, java2-vm)
> - virtual/java-native => provide a native java runtime (exists already)
> - virtual/javac => provide a jdk for the target (new, nothing like this exists, might never be used but should be defined)
> - virtual/javac-native => provide a jdk for native (exists already)
> It should be properly documented in the readme and the virtual packages should be the preferred way for users to depend on java/jre resp javac/jdk
> An alternative to the above would be:
> - virtual/jre
> - virtual/jre-native
> - virtual/jdk
> - virtual/jdk-native
> But this would deviate more from the current naming.

+1 for the jre/jdk naming. 

> Any feedback on this proposal?
> Pascal

Best Regards,

More information about the Openembedded-devel mailing list