简体   繁体   中英

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM