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

2016-09-02 Thread Pascal Bach
>> This is a hint that you need to set PREFERRED_PROVIDER_foo in your >> local.conf (or machine.conf or distro.conf or...) >> >> http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#var-PREFERRED_PROVIDER >> >> You might also need to set PREFERRED_VERSION, depending on the situation.

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

2016-09-02 Thread Pascal Bach
>> While testing the proposal above i ran into an issue. >> When I add PROVIDES = "virtual/jre" to the java recipes and i want to >> install multiple java versions via update-alternative I can't do that >> because bitbake tells me: >> >> "Multiple .bb files are due to be built which each provide

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

2016-09-01 Thread Tim Orling
On Thu, Sep 1, 2016 at 5:03 AM, Pascal Bach wrote: > Hi guys > > 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: > > > > -

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

2016-09-01 Thread Pascal Bach
Hi guys > 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

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

2016-08-31 Thread Maxin B. John
Hi, 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

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

2016-08-31 Thread Richard Leitner
On 08/30/2016 04:37 PM, 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

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

2016-08-30 Thread Otavio Salvador
On Tue, Aug 30, 2016 at 11:37 AM, 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

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

2016-08-30 Thread Pascal Bach
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