You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/08/05 20:23:26 UTC

[jira] Created: (MINVOKER-45) External properties file is ignored if parameter testProperties is not defined

External properties file is ignored if parameter testProperties is not defined
------------------------------------------------------------------------------

                 Key: MINVOKER-45
                 URL: http://jira.codehaus.org/browse/MINVOKER-45
             Project: Maven 2.x Invoker Plugin
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Benjamin Bentmann


The following code erroneously guards the loading of external properties from the IT's base directory:
{code:java}
private Properties loadTestProperties( final File basedir )
    throws IOException
{
    if ( testProperties == null )
    {
        return new Properties();
    }
    final File testProperties = new File( basedir, testPropertiesFile );
    ...
}
{code}

-- 
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: (MINVOKER-45) External properties file is ignored if parameter testProperties is not defined

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINVOKER-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MINVOKER-45.
-------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 1.2.1

Fixed in [r682848|http://svn.apache.org/viewvc?view=rev&revision=682848].

> External properties file is ignored if parameter testProperties is not defined
> ------------------------------------------------------------------------------
>
>                 Key: MINVOKER-45
>                 URL: http://jira.codehaus.org/browse/MINVOKER-45
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 1.2.1
>
>
> The following code erroneously guards the loading of external properties from the IT's base directory:
> {code:java}
> private Properties loadTestProperties( final File basedir )
>     throws IOException
> {
>     if ( testProperties == null )
>     {
>         return new Properties();
>     }
>     final File testProperties = new File( basedir, testPropertiesFile );
>     ...
> }
> {code}

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