未设置 libs.CopyLibs.classpath 属性 [英] The libs.CopyLibs.classpath property is not set up
本文介绍了未设置 libs.CopyLibs.classpath 属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 Eclipse Indigo (3.7) 使用 ant
和 build.xml
文件构建应用程序.
I'm using Eclipse Indigo (3.7) to build an application using ant
and a build.xml
file.
我收到以下异常:
C:\navigator\nbproject\build-impl.xml:774: The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
<netbeans_installation>/java<version>/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
谁能建议我如何解决这个问题?
Can anyone suggest me how to resolve this issue?
推荐答案
从 GitHub 中提取 NetBeans 项目后,我遇到了同样的问题.问题是,文件 /nbproject/private.properties
包含一行...
I had the same problem after pulling a NetBeans project from GitHub. The problem was, the file /nbproject/private.properties
contained a line...
"user.properties.file=C:\\Users\\Thilina\\AppData\\Roaming\\NetBeans\\7.3\\build.properties"
...指向错误的位置.我纠正了这个问题,问题就消失了.
...which was pointing to a wrong location. I corrected that and the problem went away.
这篇关于未设置 libs.CopyLibs.classpath 属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文