【问题标题】:Is the conf/play.plugins file still required in Play 2.1.x?Play 2.1.x 中是否仍需要 conf/play.plugins 文件?
【发布时间】:2013-02-02 05:12:45
【问题描述】:

我还没有看到它正式记录在任何地方,但似乎在 Play 1 和 2 中更新conf/play.plugins 文件是启用插件的强制性步骤。

例如如 objectify.be

中的 article 中所述

无论实现语言如何,都会调用插件 将它们添加到 conf/play.plugins 后直接由 Play 文件。当您启动新应用程序时不会创建此文件,因此您 需要自己添加。语法是:。为了 例如,要将示例插件添加到您的项目中,您可以使用

 10000:be.objectify.example.MyExamplePlugin

在 Play 2.1.x 中仍然需要这样做吗?

【问题讨论】:

    标签: playframework-2.0


    【解决方案1】:

    By looking to the source code,还是需要手动创建conf/play.plugins

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-02
      • 1970-01-01
      • 2019-04-25
      • 2015-08-15
      相关资源
      最近更新 更多