From 46823f75b0058eedcb4d32ab6f687aad28d089fa Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 27 Jan 2022 14:29:25 -0500 Subject: [PATCH] jjb: common: add log4j 2.x jars in CLASSPATH Signed-off-by: Michael Jeanson Change-Id: I0aa05ade2d09deabcbd72d3ee17be75f5ac48144 --- scripts/common/coverity.sh | 2 +- scripts/common/scan-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/common/coverity.sh b/scripts/common/coverity.sh index a44a962..d23160a 100755 --- a/scripts/common/coverity.sh +++ b/scripts/common/coverity.sh @@ -85,7 +85,7 @@ lttng-tools) lttng-ust) CONF_OPTS="--enable-java-agent-all --enable-python-agent" BUILD_TYPE="autotools" - export CLASSPATH="/usr/share/java/log4j-1.2.jar" + export CLASSPATH="/usr/share/java/log4j-api.jar:/usr/share/java/log4j-core.jar:/usr/share/java/log4j-1.2.jar" ;; lttng-scope|ctf-java|libdelorean-java|jabberwocky) CONF_OPTS="" diff --git a/scripts/common/scan-build.sh b/scripts/common/scan-build.sh index e5652b1..9f3caea 100755 --- a/scripts/common/scan-build.sh +++ b/scripts/common/scan-build.sh @@ -77,7 +77,7 @@ lttng-tools) lttng-ust) CONF_OPTS="--enable-java-agent-all --enable-python-agent" BUILD_TYPE="autotools" - export CLASSPATH="/usr/share/java/log4j-1.2.jar" + export CLASSPATH="/usr/share/java/log4j-api.jar:/usr/share/java/log4j-core.jar:/usr/share/java/log4j-1.2.jar" ;; *) echo "Generic project, no configure options." -- 2.34.1