【问题标题】:how to configure dependencies play framework 1.2.5?如何配置依赖播放框架1.2.5?
【发布时间】:2013-06-28 15:16:10
【问题描述】:

我的播放应用程序有问题,我的播放无法检测到我创建的模块。 这是我的应用程序依赖项

# Application dependencies

require:
    - play
    - tesModule -> tesModule 1.0
     repositories:
    - My modules:
        type:       local
        artifact:   ${application.path}/../[module]-[revision]
        contains:
           - tesModule -> *

在我运行命令play dependencies 后,命令提示符告诉我缺少这样的依赖项

~
~ *****************************************************************************
~ WARNING: These dependencies are missing, your application may not work properly 
(use --verbose for details),
~
~       tesModule->tesModule 1.0
~ *****************************************************************************
~
~ Some dependencies are still missing.
~

我的应用程序和我的模块在同一个文件夹中。这有什么问题,我的游戏无法检测到我的模块,我正在使用 java 语言开发我的应用程序。帮助我是新的游戏框架,对不起我的英语不好。

【问题讨论】:

    标签: java playframework playframework-1.x


    【解决方案1】:

    不要将模块修订版放在本地仓库中

    这是一个例子

            - localModules:
                type: local
                descriptor: "${application.path}/../[module]/conf/dependencies.yml"
                artifact: "${application.path}/../[module]"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-07-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-19
      • 2016-02-29
      • 2016-07-25
      相关资源
      最近更新 更多