ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
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" <>
To: "'Ant Users List'" <>
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.
> 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
> 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
> 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:   <>
For additional commands, e-mail: <>

View raw message