[ 
https://issues.apache.org/jira/browse/SHINDIG-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653873#action_12653873
 ] 

Kevin Brown commented on SHINDIG-767:
-------------------------------------

Maybe I'm missing something here, but given that this solution requires writing 
java code anyway, why not just bind your own properties?  There's no way for an 
alternative ctor to be called in the default configuration.

> PropertiesModule should be able to property files other than the default
> ------------------------------------------------------------------------
>
>                 Key: SHINDIG-767
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-767
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java)
>    Affects Versions: trunk
>         Environment: osx
>            Reporter: Ben Smith
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: fix-767-723685-improvement.patch
>
>
> org.apache.shindig.common.PropertiesModule currently will only read 
> properties in from the shindig.properties file. It would be useful to be able 
> to have the PropertiesModule be able to read in other properties files so as 
> not to duplicate.
> Clearly the module's primary use is to load shindig.properties, and this 
> should continue to work, especially when called in a web.xml. However, it 
> would be useful to be able to construct the module with a different property 
> file for intergrating developers.
> Patch will be provided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to