summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-08 09:06:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-08 09:06:47 +0200
commitc7b423d0fd69fbbd6fc5febc55463e28e8bb4546 (patch)
tree4d23e45e74249af17f5df41117a230fa7334e21d /solenv
parentb1e88b0dd52e01076ec833c998b90f8cb733b896 (diff)
Do not add unoil.jar to manifest Class-Path
...it must implicitly be loaded by the UNO type manager classloader anyway (via URE_MORE_JAVA_TYPES), so not explicitly mentioning it can help find problems early should it /not/ already be loaded by the type manager classloader. Change-Id: I35b4f2804b68a35682e93699840101a15317a096
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Jar.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/gbuild/Jar.mk b/solenv/gbuild/Jar.mk
index 17dfd3dfa09c..9e9c83f4c4c7 100644
--- a/solenv/gbuild/Jar.mk
+++ b/solenv/gbuild/Jar.mk
@@ -217,8 +217,9 @@ $$(call gb_Output_error,\
gb_Jar_add_jar: use gb_Jar_use_jar instead.)
endef
-# URE jars are not added to manifest classpath
-gb_Jar_default_jars := $(gb_Jar_URE)
+# URE jars are not added to manifest classpath; and neither is unoil.jar, which
+# is available at runtime via URE_MORE_JAVA_TYPES:
+gb_Jar_default_jars := $(gb_Jar_URE) unoil
# remember: classpath is "inherited" to ClassSet
define gb_Jar_use_jar