[ 
http://jira.codehaus.org/browse/SUREFIRE-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed SUREFIRE-634.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8
         Assignee: Kristian Rosenvold

Surefire now emits a warning log message upon attempting to set this property. 
Fixed in r1078097

> 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
>            Assignee: Kristian Rosenvold
>            Priority: Minor
>             Fix For: 2.8
>
>
> 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

        

Reply via email to