How to separate application.conf to multiply conf files in play framework 1.3

57 views Asked by At

Is it possible to use the include feature in as apache properties files in play framework 1.3?
I want each developer to have his/her own conf file instead of using application.conf

1

There are 1 answers

0
Tzach Solomon On BEST ANSWER

I could not find any documentation for it but found the answer in play source (https://github.com/playframework/play1/blob/master/framework/src/play/Play.java)

You can use the @include key word, example application.conf file would be

myproperty=myvalue

@include.shared=application_tzach.conf

and in application_tzach.conf do:

%tzach.myproperty=tzach_property