/hg/release/icedtea-web-1.2: backported : Omair's Add resources....
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Tue May 22 08:37:07 PDT 2012
changeset 08121ef055a2 in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=08121ef055a2
author: Jiri Vanek <jvanek at redhat.com>
date: Tue May 22 17:37:25 2012 +0200
backported : Omair's Add resources.jar to classpath
diffstat:
ChangeLog | 12 ++++++++++++
Makefile.am | 9 ++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (59 lines):
diff -r fdf094ad9342 -r 08121ef055a2 ChangeLog
--- a/ChangeLog Tue May 22 17:33:08 2012 +0200
+++ b/ChangeLog Tue May 22 17:37:25 2012 +0200
@@ -1,3 +1,15 @@
+2012-05-22 Jiri Vanek <jvanek at redhat.com>
+ Omair Majid <omajid at redhat.com>
+
+ * Makefile.am
+ (RUNTIME): Add resources.jar.
+ (stamps/run-unit-test-code-coverage.stamp) [WITH_EMMA]: Add resouces.jar
+ to classpath.
+ (stamps/run-reproducers-test-code-coverage.stamp) [WITH_EMMA]: Include
+ resources.jar in classpath.
+ (stamps/bootstrap-directory.stamp): Create a link to resources.jar in
+ BOOT_DIR.
+
2012-05-22 Jiri Vanek <jvanek at redhat.com>
* /tests/junit-runner/JunitLikeXmlOutputListener.java: fixed bug with
diff -r fdf094ad9342 -r 08121ef055a2 Makefile.am
--- a/Makefile.am Tue May 22 17:33:08 2012 +0200
+++ b/Makefile.am Tue May 22 17:37:25 2012 +0200
@@ -38,7 +38,7 @@
RHINO_RUNTIME=
endif
-RUNTIME = $(BOOT_DIR)/jre/lib/rt.jar:$(BOOT_DIR)/jre/lib/jsse.jar$(RHINO_RUNTIME)
+RUNTIME = $(BOOT_DIR)/jre/lib/rt.jar:$(BOOT_DIR)/jre/lib/jsse.jar$(RHINO_RUNTIME):$(BOOT_DIR)/jre/lib/resources.jar
# Flags
IT_CFLAGS=$(CFLAGS) $(ARCHFLAG)
@@ -638,6 +638,7 @@
-cp $(JUNIT_RUNNER_JAR) \
-cp $(BOOT_DIR)/jre/lib/rt.jar \
-cp $(BOOT_DIR)/jre/lib/jsse.jar \
+ -cp $(BOOT_DIR)/jre/lib/resources.jar \
-cp $(RHINO_RUNTIME) \
-cp . \
-ix "-org.junit.*" \
@@ -699,6 +700,7 @@
-cp $(JUNIT_RUNNER_JAR) \
-cp $(BOOT_DIR)/jre/lib/rt.jar \
-cp $(BOOT_DIR)/jre/lib/jsse.jar \
+ -cp $(BOOT_DIR)/jre/lib/resources.jar \
-cp $(RHINO_RUNTIME) \
-cp . \
-ix "-org.junit.*" \
@@ -896,6 +898,11 @@
else \
ln -s rt.jar $(BOOT_DIR)/jre/lib/jsse.jar ; \
fi
+ if [ -e $(SYSTEM_JRE_DIR)/lib/resources.jar ] ; then \
+ ln -s $(SYSTEM_JRE_DIR)/lib/resources.jar $(BOOT_DIR)/jre/lib ; \
+ else \
+ ln -s rt.jar $(BOOT_DIR)/jre/lib/resources.jar ; \
+ fi
ln -sf $(SYSTEM_JRE_DIR)/lib/$(JRE_ARCH_DIR) \
$(BOOT_DIR)/jre/lib/ && \
if ! test -d $(BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR); \
More information about the distro-pkg-dev
mailing list