From: Michael Jeanson Date: Thu, 13 Jan 2022 17:15:43 +0000 (-0500) Subject: jjb: lttng-tools: specify log4j jars in CLASSPATH X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=61c5ba324134bef1ef001f3484624d3dd27ca130;p=lttng-ci.git jjb: lttng-tools: specify log4j jars in CLASSPATH Signed-off-by: Michael Jeanson Change-Id: Ic26375c4e8e01dee22f42780a784f83a2ba5998d --- 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")