You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2011/03/25 00:26:05 UTC

[jira] [Created] (WOOKIE-187) Don't create local.*.properties files automatically

Don't create local.*.properties files automatically
---------------------------------------------------

                 Key: WOOKIE-187
                 URL: https://issues.apache.org/jira/browse/WOOKIE-187
             Project: Wookie
          Issue Type: Bug
            Reporter: Ross Gardler


At present the code automatically creates a local.*.properties file for each properties file. This means that:

a) when a new property is added, such as in the fix for WOOKIE-145 or the addition of a new feature wookie breaks for all existing users as they will not have this property in their local.*.properties file

b) the properties files have all the possible properties at the time of creation, but not ones that are added later (see a) 

Instead we should load the default properties then load the local properties, if they exist. 

We should also move the default properties files out of the java src tree, where they are hidden from view, and put them in root.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WOOKIE-187) Don't create local.*.properties files automatically

Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WOOKIE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Wilson updated WOOKIE-187:
--------------------------------

    Fix Version/s: 0.9.1

> Don't create local.*.properties files automatically
> ---------------------------------------------------
>
>                 Key: WOOKIE-187
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-187
>             Project: Wookie
>          Issue Type: Bug
>            Reporter: Ross Gardler
>             Fix For: 0.9.1
>
>
> At present the code automatically creates a local.*.properties file for each properties file. This means that:
> a) when a new property is added, such as in the fix for WOOKIE-145 or the addition of a new feature wookie breaks for all existing users as they will not have this property in their local.*.properties file
> b) the properties files have all the possible properties at the time of creation, but not ones that are added later (see a) 
> Instead we should load the default properties then load the local properties, if they exist. 
> We should also move the default properties files out of the java src tree, where they are hidden from view, and put them in root.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira