如何修复Google App Engine的位置值?

时间:2010-08-13 19:52:29

标签: google-app-engine netbeans location

我将项目从旧PC移到新PC上,在新PC上我下载了最新的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它会解决问题,有谁知道它在哪里?

1 个答案:

答案 0 :(得分:0)

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