maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MINVOKER-45) External properties file is ignored if parameter testProperties is not defined
Date Tue, 05 Aug 2008 18:25:26 GMT

     [ 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

        

Mime
View raw message