jjb: lttng-tools: specify log4j jars in CLASSPATH
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 13 Jan 2022 17:15:43 +0000 (12:15 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 18 Jan 2022 17:40:21 +0000 (12:40 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Ic26375c4e8e01dee22f42780a784f83a2ba5998d

scripts/lttng-tools/build.sh

index f0e4344cb7c5d7dd95903867e53092dcaa9c8870..26048ff1b6e94fb7470ce7743db2ff1970feb798 100755 (executable)
@@ -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")
This page took 0.02386 seconds and 4 git commands to generate.