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:22:03 GMT

Could you please upgrade to Ant 1.4.1 ?

There was a complete refactoring about junitreport, it makes it much easier
to use and customize (and to maintain as well).

-- 
 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 10:03 AM
> To: 'Ant Users List'
> Subject: RE: junitreport
> 
> 
> I'm using Ant 1.3 
> 
> -----Original Message-----
> From: Stephane Bailliez [mailto:sbailliez@imediation.com]
> Sent: woensdag 14 november 2001 10:03
> To: Ant Users List
> Subject: RE: junitreport
> 
> 
> 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)

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