From 9996d71e1a4fb7a8ca6752b83e4f2393dbefa76b Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 6 Dec 2012 13:06:14 -0500 Subject: Parameterizing RESTEasy paths. The paths to RESTEasy jar files have been modified such that it can be configured globally at build time using the spec file to support different distributions, and at deployment time using a system-wide configuration in /etc/pki/pki.conf. Ticket #422, #423. --- base/setup/scripts/functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'base/setup') diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions index 058022efc..3f7f9553d 100644 --- a/base/setup/scripts/functions +++ b/base/setup/scripts/functions @@ -30,6 +30,10 @@ # 200-254 reserved # +if [ -f /etc/pki/pki.conf ] ; then + . /etc/pki/pki.conf +fi + # PKI subsystem-level directory and file values for locks lockfile="/var/lock/subsys/${SERVICE_NAME}" @@ -980,7 +984,7 @@ verify_symlinks() [xml-commons-apis.jar]=/usr/share/java/xml-commons-apis.jar [xml-commons-resolver.jar]=/usr/share/java/xml-commons-resolver.jar # dogtag 9 -> dogtag 10 - [resteasy-jaxrs.jar]=/usr/share/java/resteasy/resteasy-jaxrs.jar) + [resteasy-jaxrs.jar]=${RESTEASY_LIB}/resteasy-jaxrs.jar) if [ "${PKI_SUBSYSTEM_TYPE}" == "tks" ]; then webapps_jar_symlinks[symkey.jar]=${jni_dir}/symkey.jar -- cgit