You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2006/03/20 17:02:34 UTC

[jira] Created: (SUREFIRE-37) System properties not working during forking [surefire-testng branch, patch attached]

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


[jira] Closed: (SUREFIRE-37) System properties not working during forking [surefire-testng branch, patch attached]

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-37?page=all ]
     
Brett Porter closed SUREFIRE-37:
--------------------------------

     Assign To: Brett Porter  (was: Jason van Zyl)
    Resolution: Fixed

applied, thanks

> 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: Brett Porter
>      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


[jira] Updated: (SUREFIRE-37) System properties not working during forking [surefire-testng branch, patch attached]

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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