ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazandjian Erik <Erik.Kazandj...@siemens.atea.be>
Subject junitreport
Date Wed, 14 Nov 2001 08:49:47 GMT
I hava managed to generate xml from my junit tests but now I want to
generate html out of it.

I defined the following target.

 <target name="lalalala">
    <junitreport todir="/home/integrator/.tests_output">
      <fileset dir="/home/integrator/.tests_output">
        <include name="TEST-*.xml"/>
      </fileset>
      <report format="frames" todir="/home/integrator/.tests_output/html"/>
    </junitreport>
</target>


but when I run it I get

java.io.FileNotFoundException: Could not find resource 'html/index.html'
	at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.getResourc
eAsStream(AggregateTransformer.java:495)
	at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.createFram
eStructure(AggregateTransformer.java:297)
	at
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(
AggregateTransformer.java:231)
	at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XML
ResultAggregator.java:169)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.Project.executeTargets(Project.java:510)
	at org.apache.tools.ant.Main.runBuild(Main.java:421)
	at org.apache.tools.ant.Main.main(Main.java:149)

Erik Kazandjian - Software Engineer
Siemens Atea IC D AS B5
++32 14 252962
e-mail : erik.kazandjian@siemens.atea.be



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message