ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Force PATH env variable - Enabling .DLL loading
Date Mon, 09 Jan 2006 09:52:47 GMT
>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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message