ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: junitreport
Date Wed, 14 Nov 2001 09:03:26 GMT
What Ant version are you using ?

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: Kazandjian Erik [mailto:Erik.Kazandjian@siemens.atea.be]
> Sent: Wednesday, November 14, 2001 9:50 AM
> To: 'Ant User'
> Subject: junitreport
> 
> 
> 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.AggregateTransfor
> mer.getResourc
> eAsStream(AggregateTransformer.java:495)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.createFram
> eStructure(AggregateTransformer.java:297)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransfor
> mer.transform(
> AggregateTransformer.java:231)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
> or.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>
> 

--
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