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

        

Reply via email to