如何修复 Google App Engine 位置值?

发布于 2024-09-14 10:23:24 字数 717 浏览 1 评论 0原文

我将项目从旧电脑转移到新电脑,在新电脑上我下载了最新的 Google App Engine 1.3.5,目录为“C:\appengine-java-sdk-1.3.5”,但是当我构建项目时,NetBeans 一直说:

C:\Dir_PayPal_Monitor\build.xml:12: The following error occurred while executing this line:
C:\Dir_PayPal_Monitor\nbproject\build-impl.xml:21: The following error occurred while executing this line:
C:\Dir_PayPal_Monitor\nbproject\ant-deploy.xml:10: Cannot find C:\appengine-java-sdk-1.3.4/config/user/ant-macros.xml imported from C:\Dir_PayPal_Monitor\nbproject\ant-deploy.xml

有好几次,我打开了“ant-macros.xml”文件并将值从“appengine-java-sdk-1.3.4”更改为 appengine-java-sdk-1.3.5”,它不断回来,我想知道这个值“1.3.4”存储在NB中的哪里,当它生成“ant-macros.xml”文件时,它使用这个值,如果我可以将其更改为1.3.5它将解决问题,有谁知道它在哪里吗

I moved my projects from old PC to new PC, on the new PC I downloaded the latest Google App Engine 1.3.5 and the directory is "C:\appengine-java-sdk-1.3.5", yet when I build my projects, NetBeans kept saying :

C:\Dir_PayPal_Monitor\build.xml:12: The following error occurred while executing this line:
C:\Dir_PayPal_Monitor\nbproject\build-impl.xml:21: The following error occurred while executing this line:
C:\Dir_PayPal_Monitor\nbproject\ant-deploy.xml:10: Cannot find C:\appengine-java-sdk-1.3.4/config/user/ant-macros.xml imported from C:\Dir_PayPal_Monitor\nbproject\ant-deploy.xml

For several times, I've opened the "ant-macros.xml" file and changed the value from "appengine-java-sdk-1.3.4" to appengine-java-sdk-1.3.5", it keeps coming back, I wonder where this value "1.3.4" is stored in NB, when it generates the "ant-macros.xml" file, it uses this value, if I can change it to 1.3.5 it will solve the problem, does anyone know where it is ?

Frank

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

带刺的爱情 2024-09-21 10:23:24

在build.xml中,有一个名为sdk.dir的变量。确保它指向正确的位置。

In build.xml, there is a variable called sdk.dir. Make sure that points to the correct location.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文