尝试使用CLASSPATH运行ant [英] Trying to get ant running with CLASSPATH

查看:123
本文介绍了尝试使用CLASSPATH运行ant的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建在以下网址找到的开源应用程序:https://github.com/linklayer/cantact-app



我是什么尝试过:



我已经安装了netbeans并且已经达到了我可以创建一个新项目的程度。我通过APT打开安装的Netbeans得到了帮助,但随后关闭,java.lang.NoClassDefFoundError



现在我还在为如何设置而感到茫然CLASSPATH以获得ant build命令以适用于cantact-app。当我查看〜/ .netbeans / 8.2 / var / log / messages.log时,我没有看到实际的CLASSPATH。相反,我看到了Boot& Ext.Classpath,Application Classpath和Startup Classpath。好吧,我采用了应用程序类路径的值,并为该长路径执行了export CLASSPATH = ...。现在,ant build仍然会出现BUILD FAILED,并显示消息无法找到NetBeans构建线束。请检查nbplatform.default.netbeans.dest.dir和nbplatform.default.harness.dir是否已定义...

I'm trying to build the open source application found at: https://github.com/linklayer/cantact-app

What I have tried:

I've installed netbeans and gotten to the point that I can create a new project. I got help doing this via Netbeans installed via APT opens but then closes, "java.lang.NoClassDefFoundError"

Now I'm still at a loss for how to set CLASSPATH in order to get the "ant build" command to work for cantact-app. When I look at ~/.netbeans/8.2/var/log/messages.log, I don't see an actual "CLASSPATH". Instead, I see a "Boot & Ext. Classpath", a "Application Classpath", and a "Startup Classpath". Well I took the value of "Application Classpath" and did an "export CLASSPATH=..." for that long path. Now, "ant build" still gets a "BUILD FAILED" with message "Cannot find NetBeans build harness. Check that nbplatform.default.netbeans.dest.dir and nbplatform.default.harness.dir are defined..."

推荐答案

为什么不亲自询问作者:问题·linklayer / cantact-app ·GitHub [ ^ ]

他会比这里的任何人都更了解他的项目。
Why not ask the author himself: Issues · linklayer/cantact-app · GitHub[^]
He will know his project far better than anyone here.


这篇关于尝试使用CLASSPATH运行ant的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆