Using wildcard character '*' to match anything in application.conf Play application

Wednesday, July 2, 2014

Is there a way to specify Wildcard character like '*' to match anything. For Eg: I want to specify the configuration like this in application.conf.



application.*.config = value1


In the application I want this "value1" to get picked up for any of the below keys I specify.



application.test.config
application.prod.config
application.staging.config


How can I achieve this?







http://ift.tt/1xkhkQ1