摘要:怎样用Ant测试Spring项目 对于Spring项目,还有另外的讲究。一、可以运行,但是要设置Eclipse,以使Eclipse自动往我的 <property name="run.classpath" value="${home.dir}/bin"></property>中复制Spring配置文件。 <?xml version="1.0"?><!-- 设置了路径以后就正常了 Eclipse中,java构建路径.java源:src,test,WebRoot; 缺省输出文件夹 为/bin 这个目
阅读全文
随笔分类 - 面向方面AOP
摘要:用Ant自动测试JUnit 经过痛苦的N次尝试,终于,我成功的运行了Ant驱动的JUnit!一、问题一 支持ANT的<junit>任务所需的jar包的配置。Note: This task depends on external libraries not included in the Ant distribution. See Library Dependencies for more information.注意:JUnit这个人物依赖于可选的库,不包括在标准ant.jar中。 Note: You must have junit.jar and the class files
阅读全文