[lttng-dev] [PATCH lttng-ust] Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Sep 25 10:52:51 EDT 2014
Merged, thanks!
Mathieu
----- Original Message -----
> From: "Christian Babeux" <christian.babeux at efficios.com>
> To: lttng-dev at lists.lttng.org
> Cc: "mathieu desnoyers" <mathieu.desnoyers at efficios.com>, "Christian Babeux" <christian.babeux at efficios.com>
> Sent: Wednesday, September 24, 2014 3:44:05 PM
> Subject: [PATCH lttng-ust] Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot
>
> Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
> ---
> liblttng-ust-java-agent/java/Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/liblttng-ust-java-agent/java/Makefile.am
> b/liblttng-ust-java-agent/java/Makefile.am
> index c949bf8..01e81e5 100644
> --- a/liblttng-ust-java-agent/java/Makefile.am
> +++ b/liblttng-ust-java-agent/java/Makefile.am
> @@ -43,11 +43,11 @@ $(jarfile_old): classnoinst.stamp
> $(pkgpath)/jul/*.class $(pkgpath_old)/*.class
>
> jul-jni-header.stamp: $(dist_noinst_JAVA)
> - $(JAVAH) -cp $(CLASSPATH):. -d $(juljniout) $(JAVAHFLAGS)
> org.lttng.ust.agent.jul.LTTngLogHandler && \
> + $(JAVAH) -cp $(CLASSPATH):$(srcdir) -d $(juljniout) $(JAVAHFLAGS)
> org.lttng.ust.agent.jul.LTTngLogHandler && \
> echo "JUL JNI header generated" > jul-jni-header.stamp
>
> log4j-jni-header.stamp: $(dist_noinst_JAVA)
> - $(JAVAH) -cp $(CLASSPATH):. -d $(log4jjniout) $(JAVAHFLAGS)
> org.lttng.ust.agent.log4j.LTTngLogAppender && \
> + $(JAVAH) -cp $(CLASSPATH):$(srcdir) -d $(log4jjniout) $(JAVAHFLAGS)
> org.lttng.ust.agent.log4j.LTTngLogAppender && \
> echo "Log4j JNI header generated" > log4j-jni-header.stamp
>
> all-local: $(stamp)
> --
> 2.1.0
>
>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list