From 61c5ba324134bef1ef001f3484624d3dd27ca130 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 13 Jan 2022 12:15:43 -0500 Subject: [PATCH] jjb: lttng-tools: specify log4j jars in CLASSPATH Signed-off-by: Michael Jeanson Change-Id: Ic26375c4e8e01dee22f42780a784f83a2ba5998d --- scripts/lttng-tools/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index f0e4344..26048ff 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -345,7 +345,7 @@ agents) echo "Java and Python agents configuration" export JAVA_HOME="/usr/lib/jvm/default-java" - export CLASSPATH="$DEPS_JAVA/*:/usr/share/java/*" + export CLASSPATH="$DEPS_JAVA/lttng-ust-agent-all.jar:/usr/share/java/log4j-api.jar:/usr/share/java/log4j-core.jar:/usr/share/java/log4j-1.2.jar" export PYTHONPATH="$DEPS_PYTHON2:$DEPS_PYTHON3" CONF_OPTS+=("--enable-test-java-agent-all" "--enable-test-python-agent-all") -- 2.34.1