You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/12/13 22:04:03 UTC

[jira] (SUREFIRE-649) Might be impossible to have empty strings in systemPropertyVariables element

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

Kristian Rosenvold updated SUREFIRE-649:
----------------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: Backlog
    
> Might be impossible to have empty strings in systemPropertyVariables element
> ----------------------------------------------------------------------------
>
>                 Key: SUREFIRE-649
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-649
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.6
>            Reporter: Laird Nelson
>            Priority: Minor
>             Fix For: Backlog
>
>         Attachments: surefireEmptyStringIssue.tar.gz
>
>
> This stanza:
> <systemProperties>
>   <property>
>     <name>emptyProperty</name>
>     <value></value>
>   </property>
> </systemProperties>
> ...yields "" from System.getProperty("emptyProperty").
> This (supposedly better) stanza:
> <systemPropertyVariables>
>   <emptyProperty></emptyProperty>
> </systemPropertyVariables>
> ...yields null from System.getProperty("emptyProperty").
> A test case is attached that demonstrates the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira