i want to use the junitreport ant task, but it always ends with a stackoverflow 
error.

I use these lines:
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
                <ant:junitreport todir="${maven.build.dir}">
                        <fileset dir="${junit.reports.output}">
                                <include name="TEST-*.xml"/>
                        </fileset>
                        <report format="frames" 
todir="${maven.build.dir}/junit-reports-html"/>
                </ant:junitreport>

[project.xml]
             <dependency>
                        <id>ant</id>
                        <version>1.6.3</version>
                        <properties>
                        <classloader>root</classloader>
                        </properties>
                </dependency>   
                
                <dependency>
            <id>xalan</id>
            <version>2.6.0</version>            
            <properties>
                        <classloader>root</classloader>
                        </properties>
            </dependency>
                
                <dependency>
                        <groupId>ant</groupId>
                        <artifactId>ant-junit</artifactId>
                        <version>1.6.3</version>
                        <properties>
                        <classloader>root</classloader>
                        </properties>
                </dependency>

running maven in debug-mode (-X) showed that maven uses the 1.5.3 ant jars, and 
the xalan 1.4.2?!

SystemID: 
jar:file:/C:/Programme/Apache%20Software%20Foundation/Maven%201.0.2/lib/ant-optional-1.5.3-1.jar!/org/apache
/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl; Line#: 134; Column#: 74

[junitreport] Using Xalan version: Xalan Java 2.4.1

Any ideas?!

- Jens Zastrow
DAI-Labor - Technische Universität Berlin
Sekretariat GOR 1-1, Franklinstraße 28/29, 10587 Berlin
Fon: +49 30 314 77777
Fax: +49 30 314 21799
[EMAIL PROTECTED]
http://www.dai-labor.de


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

Reply via email to