I add load library paths in an ant's build.xml files like:

 

<target name="junit-run" depends="prepare">

      <junit printsummary="true" failureproperty="junit.failed">

            <sysproperty 

                  key="com_moesol_bindings.library.path" 

 
value="${basedir}/src/lib/com_moesol_bindings/${jni.compile.type}"

            />

 

We do this in build.xml so we can parametize wheterh we want to load the
Debug or Release version of the dll.

 

Any suggestions would be appreciated.

 

Thanks

Adam

Reply via email to