Michael Silverman wrote:
Actually, Ant runs a task that launches a java app which loads a DLL which
itself loads more DLL's....
The first DLL load is not a problem (I'm just passing java.library.path to
the JVM) but when that DLL tries to loads the other DLL's, it searches them
in the windows path (this is a normal behavior which has nothing to do with
Java / Ant).
So what I want is to append the DLL's dir to the windows path just before I
run the task but it has to be done in the same process of Ant in order to be
visible to the first DLL (which runs in a child process created by the Ant
task).
I hope that's clear enough.
<java> has an <env> attribute. set the path there. You do not need to
(and cannot) alter the env of ant while it is running
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]