[
https://issues.apache.org/jira/browse/SHINDIG-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Smith updated SHINDIG-767:
------------------------------
Attachment: fix-767-723685-improvement.patch
Patch provides another constructor that takes a string for to specify a
properties file which will be bound upon configure.
> 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.