阅读背景:

gradle-gae-plugin示例项目不起作用

来源:互联网 

I took some time to create a small example project that uses gradle-gae-plugin.

我花了一些时间来创建一个使用gradle-gae-plugin的小示例项目。

I based it on one of the tutorial projects that google has.

我基于谷歌的一个教程项目。

For some reason it fails to run 100% locally (the upload of order fails) and the upload to google appengine fails.

由于某种原因,它无法在本地100%运行(订单上传失败),上传到谷歌appengine失败。

See https://github.com/oakstair/gradle-gae-plugin-tryout

1 个解决方案

#1


0  

The example project works fine for me with Java 7. This is the specific version I am using:

使用Java 7,示例项目对我来说很好。这是我使用的特定版本:

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

One thing that needs fixing in your build script is the definition of the gaeSdk dependency. That may not be declared within the gae closure. It needs to go in the dependencies configuration block outside of the gae closure.

需要在构建脚本中修复的一件事是gaeSdk依赖项的定义。这可能不会在封闭期间宣布。它需要进入gae闭包之外的依赖关系配置块。

Running the application with gaeRun works fine for me. I haven't fully tested the upload. Executing gaeUpdate asks me for your password so I assume it's not broken. What is the error you are seeing?

使用gaeRun运行应用程序对我来说很好。我还没有完全测试上传。执行gaeUpdate要求我提供密码,所以我认为它没有被破坏。你看到的错误是什么?


分享到: