Posted By:
harsha_av
Posted On:
Wednesday, October 6, 2004 01:52 AM
I am trying to run junit with ant, but am gettin gthe error shown below. I am not able to make out what the error is, can anybody help? Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: /opt/java1.4/jre Detected OS: HP-UX parsing buildfile build.xml with URI = file:/u1/dev/work/harshav/JavaExcelAPI/build.xml Project base dir set to: /u1/dev/work/harshav/JavaExcelAPI Override ignored for property ant.home Build sequence for target `junit is [init, compile, junit] Complete build sequence is [init
More>>
I am trying to run junit with ant, but am gettin gthe error shown below.
I am not able to make out what the error is, can anybody help?
Apache Ant version 1.5.4 compiled on August 12 2003
Buildfile: build.xml
Detected Java version: 1.4 in: /opt/java1.4/jre
Detected OS: HP-UX
parsing buildfile build.xml with URI =
file:/u1/dev/work/harshav/JavaExcelAPI/build.xml
Project base dir set to: /u1/dev/work/harshav/JavaExcelAPI
Override ignored for property ant.home
Build sequence for target `junit is [init, compile, junit]
Complete build sequence is [init, compile, junit, report,
clean]
init:
compile:
junit:
[junit] Implicitly
adding /u1/dev/work/harshav/BCELJar/junit.jar:/u1/dev/tools/Ant/lib/ant.jar:/u1/dev/tools/Ant/lib/optional.jar to CLASSPATH
[junit] Running GTDBTestCase
dropping /u1/dev/work/harshav/JavaExcelAPI/build/xmltest from path as it doesnt exist
dropping /u1/dev/work/harshav/JavaExcelAPI/build/xmltest from path as it doesnt exist
dropping /u1/dev/work/harshav/JavaExcelAPI/build/xmltest from path as it doesnt exist
dropping /u1/dev/work/harshav/JavaExcelAPI/build/xmltest from path as it doesnt exist
[junit] Executing /opt/java1.4/jre/bin/java with
arguments:
[junit] -classpath
[junit]
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner
[junit] GTDBTestCase
[junit] filtertrace=true
[junit] haltOnError=false
[junit] haltOnFailure=false
[junit]
formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter
[junit] showoutput=false
[junit]
formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter,/u1/dev/work/harshav/JavaExcelAPI/te
st_output/TEST-GTDBTestCase.txt
[junit]
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/u1/dev/work/harshav/JavaExcelAPI/test
[junit]
propsfile=/u1/dev/work/harshav/JavaExcelAPI/junit19403774
46.properties
[junit]
[junit] The characters around the executable and arguments are
[junit] not part of the command.
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] TEST GTDBTestCase FAILED
[junitreport] Parsing file: /u1/dev/work/harshav/JavaExcelAPI/test_output/TEST-MyXMLTestCase.xml
[junitreport] Parsing file: /u1/dev/work/harshav/JavaExcelAPI/test_output/TEST-GTDBTestCase.xml
[junitreport] Using Xalan version: Xalan Java 2.4.1
[junitreport] Transform time: 4210ms
BUILD SUCCESSFUL
Total time: 15 seconds
</>
<<Less