>I would like to use ant to launch a java application that 
>loads a black box .dll under Windows.
>Whatever the reason, the .dll path need to be present in the 
>PATH environment variable.
>Otherwise, the java app fails to find and load the library.

e.g. using SWT ...


>As I need to deploy the app on numerous machines, I'd rather 
>avoid to set the PATH each time.
>Any idea to set the environment within ant commandline or even 
>better within the ant file before I call the java task?

try setting the   java.library.path  system property.


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to