是否有强制要求切换app.yaml? [英] Is there a mandatory requirement to switch app.yaml?

查看:100
本文介绍了是否有强制要求切换app.yaml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计,
我在Windows 7x64上使用最近发布的Google Cloud SDK 0.9.56。
当尝试使用web.xml和appengine-web.xml部署我的应用程序时,我得到一个响应:

Folks, I'm using the recently released Google Cloud SDK 0.9.56 on Windows 7x64. When trying to gcloud deploy my app using web.xml and appengine-web.xml, I get a response:

ERROR: Found no valid App Engine configuration files in directory

当尝试对定义的应用程序执行相同操作时与app.yaml没有问题。
旧版SDK版本的队友似乎没有问题。
是否有在所有应用程序中使用app.yaml的强制性要求?

When trying to do the same with apps defined with app.yaml there were no issues. Teammates with older SDK versions don't seem to have an issue. Is there a mandatory requirement to use app.yaml in all apps?

PS:这个问题可能是相关的,但它实际上是一个不同的问题。

P.S: This question might be related but its actually a different issue.

推荐答案

抱歉。

您链接的问题实际上是同一个问题。您可以使用此处描述的新maven插件将appengine-web.xml自动转换为app.yaml。我们有一个gradle插件很快出现,可以做同样的事情。

That question you linked is actually the same issue. You can use the new maven plugin described there to translate your appengine-web.xml to app.yaml automatically. We have a gradle plugin coming out very soon to do the same thing.

如果您想在没有Maven或Gradle的情况下直接使用gcloud,则需要现在将appengine-web.xml翻译成app.yaml。

If you'd like to keep using gcloud directly without Maven or Gradle, you'll need to translate the appengine-web.xml to an app.yaml for now.

让我知道我能否帮忙。

这篇关于是否有强制要求切换app.yaml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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