ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: LD_LIBRARY_PATH problems using Ant to call C++ JNI code
Date Fri, 14 Jun 2002 18:36:17 GMT

----- Original Message -----
From: "Dominique Devienne" <DDevienne@lgc.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Friday, June 14, 2002 11:21 AM
Subject: RE: LD_LIBRARY_PATH problems using Ant to call C++ JNI code


> First let me just say that it seems you tried everything I could think of,
> and that defining LD_LIBRARY_PATH in the makefile doesn't work is weird.
The
> only remaining thing you could try is to use the 'env' command. I haven't
> used Unix for a few years now, but I vaguely remember env can be used to
set
> an env. var. for a program it starts itself, like in:
>
> env LD_LIBRARY_PATH=... make test
>
> If FreeBSD supports this form of env, then maybe by <exec>ing that from
Ant
> would help (instead of bash -c 'make test')!?!? Somehow I doubt it, given
> the fact that what you tried was unsuccessful, but it's worth a try. --DD

1. you can set environment options in <exec>; look at the docs.

2. why run JNI tests with CppUnit. Why not run them with Junit?




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message