ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Rathnow" <Dave.Rath...@umsltd.com>
Subject RE: junitreport error: ClassNotFoundException: redirect
Date Tue, 09 May 2006 14:22:58 GMT

I was wondering if anyone has any idea what may be causing this and what
a possible solution would be.

Thanks,
Dave.


-----Original Message-----
From: Dave Rathnow [mailto:Dave.Rathnow@umsltd.com] 
Sent: Thursday, May 04, 2006 8:58 AM
To: Ant Users List
Subject: RE: junitreport error: ClassNotFoundException: redirect

Certainly:

   <target name="properties">
        <property file="${user.home}/build.properties" />
        <property file="${wonder.root}/Build/build/default.properties"
/>
        <property
file="${wonder.root}/Build/build/${os.name}.properties" />
        <property
file="${wonder.root}/Build/build/default-os.properties" />
    </target>

....

   <target name="junitreport" depends="properties"> 
        <junitreport todir="c:/temp/report">
          <fileset dir="${build.root}/logs">
            <include name="*-unittest.xml"/>
          </fileset>
          <report format="frames" todir="c:/temp/report/html"/>
        </junitreport>
    </target>   


Hope you can help me!

Dave.

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


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


Mime
View raw message