ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan \"Rambius\" Ivanov" <rambiusparkisan...@yahoo.com>
Subject RE: junitreport error: ClassNotFoundException: redirect
Date Thu, 04 May 2006 15:06:58 GMT
Hello,

Regards
Ivan

--- Dave Rathnow <Dave.Rathnow@umsltd.com> wrote:

<target name="junitreport" depends="properties"> 
>         <junitreport todir="c:/temp/report">
>           <fileset dir="${build.root}/logs">
>             <include name="*-unittest.xml"/>
I believe the above line should be
              <include name="TEST-*.xml"/>

If you check ${build.root}/logs directory you will see
that it contains some TEST-*.xml files, which are
produced by <junit>.

>           </fileset>
>           <report format="frames"
> todir="c:/temp/report/html"/>
>         </junitreport>
>     </target>   

Regards
Ivan

> 
> -----Original Message-----
> From: Ivan "Rambius" Ivanov
> [mailto:rambiusparkisanius@yahoo.com] 
> Sent: Thursday, May 04, 2006 12:10 AM
> To: Ant Users List
> Subject: Re: junitreport error:
> ClassNotFoundException: redirect
> 
> Hello,
> 
> Can you post the relevant parts of your build script
> mainly the part with <junitreport> task?
> 
> Regards
> Ivan
> 
> --- Dave Rathnow <Dave.Rathnow@umsltd.com> wrote:
> 
> > Hi,
> > 
> >  
> > 
> > I've searched the archives and Googled this error
> > but I can't find the
> > solution.
> > 
> >  
> > 
> > I'm using Ant 1.6.5, Java 1.4.1 and Xalan 2.7.0
> and
> > have xercesImpl.jar,
> > xml-apis.jar, and serializer.jar all in the
> > $ANT_HOME/lib directory.
> > When I try to run the junitreport task, I'm
> getting
> > the following error:
> > 
> >  
> > 
> > [junitreport]
> >
>
jar:file:/c:/apache-ant-1.6.5/lib/ant-junit.jar!/org/apache/tools/ant/ta
> > skdefs/optional/junit/xsl/junit-frames.xsl; Line
> 37;
> > Column 53;
> > javax.xml.transform.TransformerException:
> > java.lang.ClassNotFoundException: redirect
> > 
> >  
> > 
> > Can anyone tell me what I've done wrong?
> > 
> >  
> > 
> > Thanks,
> > 
> > Dave.
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message