System properties not working during forking [surefire-testng branch, patch 
attached]
-------------------------------------------------------------------------------------

         Key: SUREFIRE-37
         URL: http://jira.codehaus.org/browse/SUREFIRE-37
     Project: surefire
        Type: Bug

    Reporter: Christian Schulte
 Assigned to: Jason van Zyl 
 Attachments: systemproperties.patch

Hi,

just started to try the surefire-testng branch and the maven-surefire-testng 
plugin. When setting system properties to the ForkConfiguration a new 
Properties instance is created taking the properties as the defaults. When this 
properties are written to disk using properties.store() the defaults are not 
written to disk. The attached patch changes 
ForkConfiguration.setSystemProperties( systemProperties) from 
this.systemProperties = new Properties( systemProperties ) to 
this.systemProperties = (Properties) systemProperties.clone() and makes system 
properties work during forking.


-- 
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