编译Ant时JUnit的问题
来源:互联网 发布:运营商封80端口 编辑:程序博客网 时间:2024/05/21 15:44
在编译Ant源码时出现了以下错误:
BUILD FAILED
/tmp/apache-ant-1.8.2/build.xml:986: The following error occurred while executing this line:
/tmp/apache-ant-1.8.2/build.xml:778: We cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
把junit.jar添加到CLASSPATH之后,再执行“source /etc/profile”还是不行。关于这个问题,我在以下网页找到了答案:http://web.archiveorange.com/archive/v/bnxdGqvdgVMSsMDezfFT
提问者所遇到的问题和我的类似:
Parchet Michaël <parc...@hotmail.com> Mon Apr 16 2007 02:37:22 GMT+0800 (CST)
Hello,I'm looking for some help to install and use apache-ant on mandriva linux.==20I tried to compile source distribution but I receved the following errormessage:builb.xml:911 We cannot build the test jar unless JUnit is present,as JUnit is needed to compile the test classes.Total time: 12 seconds... Failed Building Ant Distribution !Bootstrap FAILEDI createad a CLASSPATH variable but this failedThanks for any help and suggestionsBattantPS i work on manriva linux 2007
最佳答案:
Kevin Jackson <foam...@gmail.com> Mon Apr 16 2007 11:27:01 GMT+0800 (CST)
Hello,Hi,Hide quoted text> I tried to compile source distribution but I receved the following error> message:When I compile from source I use bootstrap.sh followed by build.shHide quoted text>> builb.xml:911 We cannot build the test jar unless JUnit is present,>> as JUnit is needed to compile the test classes.>> Total time: 12 seconds>> ... Failed Building Ant Distribution !>> Bootstrap FAILED>> I createad a CLASSPATH variable but this failed>Any CLASSPATH variable that you set will be ignored by the bootstrap &build scripts as they manage the build classpathCheck in the source code under lib/optional, there should be a junitjar there. If there isn't, copy a junit jar (v3.8.2) intolib/optional and try running bootstrap.sh again
- 编译Ant时JUnit的问题
- 编译Ant时JUnit的问题
- ant编译的问题
- 解决ANT与JUNIT出现的问题
- Ant 使用Junit自动测试要注意的问题
- Eclipse使用ant编译时的乱码问题
- ant使用javac编译时出现的一个问题
- ant编译时提示一大堆软件包不存在的问题
- Ant+junit的测试自动化
- Ant+junit的测试自动化
- Ant+junit的测试自动化
- Ant+junit的测试自动化
- Ant使用Junit的注意事项
- 解决ant编译“资源不足”的问题
- 解决ant编译中出现“ warning: 'includeantruntime' was not set,”警告的问题执行ant编译时,
- 处理Ant编译时中文乱码问题
- ANT 编译编码问题
- ant重新编译问题
- 配置文件
- Linq to Sql (八):继承与关系
- 一些重要的网址
- Linq to Sql(九):其它补充
- 大型网站的高可用分析
- 编译Ant时JUnit的问题
- 关于char, wchar_t, TCHAR, _T(),L,宏 _T、TEXT,_TEXT
- 网页播放器插件的参数含义 Windows Media Player 网页播放器 参数含义
- iOS OpenFlow: CoverFlow 实现
- 1351 我要4444
- 朴素的贝叶斯分类器(Naive Bayesian Classifier)
- 使用Ado.net读取Excel文件
- ANDROID视图空间代码
- 1352 导弹部队又来了