简体   繁体   English

如何配置依赖播放框架1.2.5?

[英]how to configure dependencies play framework 1.2.5?

i have a problem with my play application, my play can't detect module i've created. 我的游戏应用程序有问题,我的游戏无法检测到我创建的模块。 this is my application dependencies 这是我的应用程序依赖

# Application dependencies

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

after i run command play dependencies the command prompt told me there was missing dependencies like this 我运行命令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.
~

my application and my module in the same folder. 我的应用程序和我的模块在同一文件夹中。 What's wrong with this, my play cannot detect my module, iam using java language to develop my application. 怎么了,我的游戏无法检测到我的模块,我是使用Java语言开发应用程序的。 Help iam new in play framework, and sorry for my bad english. 帮助iam发挥游戏框架的新功能,对我的英语不好对不起。

Don't put the module revision in your local repo 不要将模块修订版放在本地存储库中

Here is an example 这是一个例子

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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