Gaelyk eclipse配置错误
我尝试使用模板项目的 gradle 脚本在 eclipse 中配置 gaelyk 项目,但总是失败。 为此,我使用以下命令: gradlew cleanEclipse eclipse
所有包似乎都正确下载,创建了 .project 和 .classpath 文件,但我总是在项目上发现此错误:
The App Engine SDK 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' on the project's build path is not valid
(SDK location 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' is not a directory)
似乎在 .classpath/.project 文件中指定了不正确的 appengine SDK。 我已经安装了 eclipse Indigo 和最新版本的 eclipse google 插件
我该如何修复它?
I've tried to configure a gaelyk project in eclipse using the gradle script of the template project and always failed.
to do this I use the following command:
gradlew cleanEclipse eclipse
All the packeges seems correctly downloaded, the .project and .classpath files are created but I always fint this error on the project:
The App Engine SDK 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' on the project's build path is not valid
(SDK location 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' is not a directory)
It seems that the appengine SDK is specified uncorrectly in the .classpath/.project files.
I've installed eclipse Indigo and the last version of the google plugin for eclipse
How can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我个人不使用 Eclipse 进行 Gaelyk 开发。因此,我不确定模板项目的 Gradle 构建脚本中现有的 Eclipse 配置是否适用于 Google 插件。
然而,不久前我收到了一个针对 Gradle GAE 插件的拉取请求与 Eclipse 插件集成。我拒绝了它,因为它太具体了,而且随着 Google 配置可能发生变化,它可能会导致 Gradle 插件出现很多错误。 作者计划为其创建一个单独的插件,以便您可以尝试 ping 他。
我还知道另一个 Gradle 插件 可能会对您有所帮助。另请尝试将您的问题发布到 Gaelyk 邮件列表。
I am personally not using Eclipse for Gaelyk development. Therefore, I am not sure if the existing Eclipse configuration in the Gradle build script of the template project will work with the Google plugin.
However, a while ago I got a pull request for the Gradle GAE plugin to integrate with the Eclipse plugin. I had turned it down because it's too specific and it would lead to potentially a lot of bugs to the Gradle plugin as the Google configuration might change. The author was planning to creating a separate plugin for it so you can try to ping him.
I also know of another Gradle plugin that might help you here. Also try to post your question the Gaelyk mailing list.