setting "java.library.path" via systemPropertyVariables or systemProperties is
not working
------------------------------------------------------------------------------------------
Key: SUREFIRE-634
URL: http://jira.codehaus.org/browse/SUREFIRE-634
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.5
Environment: Windows 7 (x64)
Reporter: Daniel Rothmaler
Priority: Minor
I tried to set "java.library.path" for my tests, to use an native windows dll
(in my case jawin.dll).
Id tried to do this the following way:
<systemPropertyVariables>
<java.library.path>${basedir}/src/main/runtime/lib/</java.library.path>
</systemPropertyVariables>
I also tried to use the older <systemProperties>, with
"${project.build.directory}/lib/" as base (with copied libs of cause), with an
absolute path and with different fork modes; but nothing worked.
The only way to get it going was to use "<argLine>":
<argLine>-Djava.library.path=${basedir}/src/main/runtime/lib/</argLine>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira