【发布时间】:2015-06-24 02:06:20
【问题描述】:
我是 webdriver 的新手,我只想执行我的脚本并使用 selenium/Junit 中的 ANT Build 生成测试结果。当我尝试运行脚本时,出现以下错误:
${ECLIPSE_HOME}\plugins 不存在。
我该如何解决这个问题?
Buildfile: C:\Users\xxx\workspace\Script\build.xml
build-subprojects:
init:
build-project:
[echo] Script: C:\Users\xxx\workspace\Script\build.xml
build:
clean:
[delete] Deleting directory C:\Users\xxx\workspace\Script\bin
cleanall:
clean:
init:
[mkdir] Created dir: C:\Users\xxx\workspace\Script\bin
build-subprojects:
init:
build-project:
[echo] Script: C:\Users\xxxx\workspace\Script\build.xml
[javac] Compiling 4 source files to C:\Users\xxx\workspace\Script\bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] 1 warning
build-refprojects:
init-eclipse-compiler:
BUILD FAILED
C:\Users\xxxx\workspace\Script\build.xml:43: C:\Users\xxxx\workspace\Script\${ECLIPSE_HOME}\plugins does not exist.
Total time: 1 second
【问题讨论】:
标签: java eclipse selenium ant junit