如何在 play framework 1.3 中分离 application.conf 以乘以 conf 文件
How to separate application.conf to multiply conf files in play framework 1.3
是否可以在 play framework 1.3 的 apache 属性文件中使用 include 功能?
我希望每个开发人员都有 his/her 自己的 conf 文件,而不是使用 application.conf
我找不到它的任何文档,但在播放源中找到了答案 (https://github.com/playframework/play1/blob/master/framework/src/play/Play.java)
您可以使用@include 关键字,例如 application.conf 文件是
myproperty=myvalue
@include.shared=application_tzach.conf
并在 application_tzach.conf 中执行:
%tzach.myproperty=tzach_property
是否可以在 play framework 1.3 的 apache 属性文件中使用 include 功能?
我希望每个开发人员都有 his/her 自己的 conf 文件,而不是使用 application.conf
我找不到它的任何文档,但在播放源中找到了答案 (https://github.com/playframework/play1/blob/master/framework/src/play/Play.java)
您可以使用@include 关键字,例如 application.conf 文件是
myproperty=myvalue
@include.shared=application_tzach.conf
并在 application_tzach.conf 中执行:
%tzach.myproperty=tzach_property