Skip to contentSkip to conversation

sane-toolchain-java: define PREFERRED_PROVIDER_openjdk-6-jre to use openjdk-6 as java2-runtime provider instead of cacao

PATCH New Martin Jansa 1 participant 1 message May 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sane-toolchain-java: define PREFERRED_PROVIDER_openjdk-6-jre to use openjdk-6 as java2-runtime provider instead of cacao

---
 conf/distro/include/sane-toolchain-java.inc |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
conf/distro/include/sane-toolchain-java.inc +15 -0
index 365a3d6..a754f11 100644
@@ -2,5 +2,20 @@
 
 PREFERRED_PROVIDER_virtual/java-initial ?= "jamvm-initial"
 PREFERRED_PROVIDER_virtual/java-native ?= "cacao-native"
+
+# target cacao is failing to build
+# without this provider we get
+# DEBUG: sorted providers for java2-runtime are: [
+#        '/OE/dev/recipes/cacao/cacao_0.99.4.bb', 
+#        '/OE/dev/recipes/jamvm/jamvm_1.5.3.bb', 
+#        '/OE/dev/recipes/openjdk/openjdk-5_6b18-1.8.5.bb']
+# with this provider we get
+# NOTE: selecting openjdk-6-jre to satisfy runtime java2-runtime due to PREFERRED_PROVIDER_openjdk-6-jre = openjdk-6-jre
+# DEBUG: sorted providers for java2-runtime are: [
+#        '/OE/dev/recipes/openjdk/openjdk-6_6b18-1.8.5.bb', 
+#        '/OE/dev/recipes/cacao/cacao_0.99.4.bb', 
+#        '/OE/dev/recipes/jamvm/jamvm_1.5.3.bb']
+PREFERRED_PROVIDER_openjdk-6-jre = "openjdk-6-jre"
+
 PREFERRED_VERSION_classpath-native = "0.98"
 PREFERRED_VERSION_classpath = "0.98"
Signature · 1 line
1.7.5.rc3