如何修复 Google App Engine 位置值?
我将项目从旧电脑转移到新电脑,在新电脑上我下载了最新的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在build.xml中,有一个名为
sdk.dir
的变量。确保它指向正确的位置。In build.xml, there is a variable called
sdk.dir
. Make sure that points to the correct location.