[ http://jira.codehaus.org/browse/SUREFIRE-37?page=all ]
Brett Porter updated SUREFIRE-37:
---------------------------------
Fix Version: 2.0
> 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
> Assignee: Jason van Zyl
> Fix For: 2.0
> 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