如何在play2中将项目打包成战争? [英] How to package the project to war in play2?

查看:85
本文介绍了如何在play2中将项目打包成战争?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在play1中,我们可以将项目打包为战争,然后将其放入tomcat:

In play1, we can package the project to a war, then put it in a tomcat:

play war

但是在play2中该怎么做? play war不起作用,它报告war不是有效任务.

But how to do the same in play2? play war doesn't work, it reports war is not a valid task.

推荐答案

尚不支持该功能,直到Play 2.1为止(根据当前计划)该支持才会被释放

It's not still supported, support won't be released until Play 2.1 (as per current plan)

PS:我知道您的评论是这样说的,但最好将其作为人们找到此页面的答案.

PS: I know your comment says so, but it's better to have it as an answer for people finding this page.

这篇关于如何在play2中将项目打包成战争?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆