Hello,

Regards
Ivan

--- Dave Rathnow <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] 
> 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 <[EMAIL PROTECTED]> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to