Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: bin: Use engine's java-home for classpath ......................................................................
packaging: bin: Use engine's java-home for classpath Change-Id: I2e9fabfc09629a6f188526e836badc5508752156 Bug-Url: https://bugzilla.redhat.com/1177735 Signed-off-by: Yedidyah Bar David <[email protected]> --- M packaging/bin/dwh-classpath.sh 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/69/36669/1 diff --git a/packaging/bin/dwh-classpath.sh b/packaging/bin/dwh-classpath.sh index 1aa919b..f8d6cb1 100755 --- a/packaging/bin/dwh-classpath.sh +++ b/packaging/bin/dwh-classpath.sh @@ -22,6 +22,11 @@ *) die "Invalid usage";; esac +if [ -z "${JAVA_HOME}" ]; then + JAVA_HOME=$(/usr/share/ovirt-engine/bin/java-home) + export JAVA_HOME +fi + if [ -x /usr/bin/java-config ]; then PACKAGES_BUILD="dom4j-1 commons-collections" PACKAGES_RUNTIME="jdbc-postgresql" -- To view, visit http://gerrit.ovirt.org/36669 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2e9fabfc09629a6f188526e836badc5508752156 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-dwh Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
