https://issues.apache.org/bugzilla/show_bug.cgi?id=53773
Priority: P2
Bug ID: 53773
Assignee: [email protected]
Summary: [junitreport] Failed to transform using stylesheet jar
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 1.8.3
Component: Optional Tasks
Product: Ant
Created attachment 29271
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29271&action=edit
Source code
I follow this tutorial to create a task & gerneate HTML report.
(http://ant.apache.org/manual/tutorial-writing-tasks.html)
But following error message is shown while gererating html report.
D:\eclipse\workspace\Test>ant
Buildfile: D:\eclipse\workspace\Test\build.xml
compile:
[javac] D:\eclipse\workspace\Test\build.xml:32: warning:
'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for
repeatable
builds
jar:
junit:
[delete] Deleting directory D:\eclipse\workspace\Test\report\junit\xml
[mkdir] Created dir: D:\eclipse\workspace\Test\report\junit\xml
[junit] Running HelloWorldTest
[junit] Tests run: 5, Failures: 3, Errors: 0, Time elapsed: 1.36 sec
[junit] Test HelloWorldTest FAILED
junitreport:
[junitreport] Processing
D:\eclipse\workspace\Test\report\junit\html\TESTS-TestS
uites.xml to C:\DOCUME~1\myname\LOCALS~1\Temp\null1784577025
[junitreport] Loading stylesheet
jar:file:/D:/eclipse/plugins/org.apache.ant_1.8
.3.v20120321-1730/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/juni
t/xsl/junit-frames.xsl
[junitreport] Failed to transform using stylesheet
jar:file:/D:/eclipse/plugins/
org.apache.ant_1.8.3.v20120321-1730/lib/ant-junit.jar!/org/apache/tools/ant/task
defs/optional/junit/xsl/junit-frames.xsl
[junitreport] Failed to process
D:\eclipse\workspace\Test\report\junit\html\TEST
S-TestSuites.xml
BUILD FAILED
D:\eclipse\workspace\Test\build.xml:89: Errors while applying transformations:
D
:\eclipse\workspace\Test\build.xml:89: class
org.apache.tools.ant.taskdefs.optio
nal.TraXLiaison accepts the stylesheet only as a file
Total time: 3 seconds
Ant: v1.8.3
JDK: v1.6.0_33
--
You are receiving this mail because:
You are the assignee for the bug.