Fix: doc/examples/java-log4j: fix paths to directories
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 18 Jan 2022 15:37:56 +0000 (10:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 18 Jan 2022 15:57:22 +0000 (10:57 -0500)
Since the directory hierarchy refactoring introduced in the 2.13 release
of lttng-ust, the paths in `run` are wrong, they are missing a `src`
component.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ibfcf8ac7f85049432f4788a5134e06eb5fe2434e

doc/examples/java-log4j/run

index d6e5afa4be7dcb8c16fc71c1b43337c218a3e705..ce23171737b2fd41ceaa8a0ef6d64a6fdf32105d 100755 (executable)
@@ -21,9 +21,9 @@ fi
 cd $DIR
 
 if [ -f "$DIR/.intree" ]; then
-       CLASSPATH="$CLASSPATH:../../../lib/lttng-ust-java-agent/java/lttng-ust-agent-common/$JARFILE_COMMON"
-       CLASSPATH="$CLASSPATH:../../../lib/lttng-ust-java-agent/java/lttng-ust-agent-log4j/$JARFILE_LOG4J"
-       LIBPATH="../../../lib/lttng-ust-java-agent/jni/log4j/.libs"
+       CLASSPATH="$CLASSPATH:../../../src/lib/lttng-ust-java-agent/java/lttng-ust-agent-common/$JARFILE_COMMON"
+       CLASSPATH="$CLASSPATH:../../../src/lib/lttng-ust-java-agent/java/lttng-ust-agent-log4j/$JARFILE_LOG4J"
+       LIBPATH="../../../src/lib/lttng-ust-java-agent/jni/log4j/.libs"
 else
        CLASSPATH="$CLASSPATH:/usr/local/share/java/$JARFILE_COMMON:/usr/share/java/$JARFILE_COMMON"
        CLASSPATH="$CLASSPATH:/usr/local/share/java/$JARFILE_LOG4J:/usr/share/java/$JARFILE_LOG4J"
This page took 0.0256 seconds and 4 git commands to generate.