You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Martin Goldhahn (JIRA)" <ji...@apache.org> on 2012/12/06 14:27:00 UTC

[jira] [Updated] (CMIS-610) Make location of configuration files configurable

     [ https://issues.apache.org/jira/browse/CMIS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Goldhahn updated CMIS-610:
---------------------------------

    Attachment: chemistry-opencmis-workbench.patch

The patch introduces a system parameter "cmis.workbench.configs.folder" that can be a classpath resource or a filesystem path. The properties files in the "master file" config-library.properties are resolved agains the location of the "master file".
There was also one place were a properties file was read with "UTF-8". According to the spec, all properties files have to be iso-8859-1 encoded. Using the Properties class for loading and listing resolves this.
                
> Make location of configuration files configurable
> -------------------------------------------------
>
>                 Key: CMIS-610
>                 URL: https://issues.apache.org/jira/browse/CMIS-610
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-workbench
>            Reporter: Martin Goldhahn
>         Attachments: chemistry-opencmis-workbench.patch
>
>
> The location of the configuration files for the CMIS repositories and the groovy script files is included in the workbench JAR and hard-coded.
> I need to add my own repository nad would like to put its config parameters in a property file like the ones shipped with the workbench.

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