I'd stick with Maven 1.1 if you want to use ant tasks as it includes a
more recent version of ant. 

Out of interest, why are you using the ant junit report instead of maven
junit report plugin
<http://maven.apache.org/reference/plugins/junit-report/goals.html>?

-----Original Message-----
From: Matt Meola [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 July 2005 7:37 AM
To: [email protected]
Subject: Maven 1.0.2 and junitreport?

Question:  is it beyond the realm of possibility to use ant's
junitreport task directly?  Something like the following:

        <ant:junitreport todir="${maven.build.dir}/blah">
            <ant:fileset dir="${testReportsDirectory}">
                <ant:include name="TEST-*.xml"/>
            </ant:fileset>
            <ant:report format="frames"
todir="${maven.build.dir}/blah"/>
        </ant:junitreport>

When I try that, maven complains about not seeing xalan on the
classpath, like so: 

        BUILD FAILED
        File...... /home/mmeola/workspace/newui-7.1.2/maven.xml
        Element... ant:junitreport
        Line...... 197
        Column.... 47
        Could not find xalan2 nor xalan1 in the classpath. Check
http://xml.apache.org/xalan-j
        Total time: 5 seconds
        Finished at: Mon Jul 11 15:33:24 MDT 2005

This despite the fact that I do, indeed, have xalan-2.6.0.jar on
my CLASSPATH.  I've tried copying that jar into maven's lib directory,
I have tried adding a project dependency on xalan, all to no avail.

I have event tried to do this under maven 1.1-beta1.  It gets a little
further, but complains about not being able to compile the stylesheet.

Any thoughts?


--
Matt Meola
Contractor
Vericept Corporation
555 17th Street, Suite 1500
Denver, Colorado  80202
"Protecting Your Information and Reputationtm"
tel: (303) 798-1568 ext. 5009
fax: (303) 268-0520
www.vericept.com




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




www.about.sensis.com.au
A leading Australian advertising, information and directories business.
www.sensis.com.au
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
This email and any attachments are intended only for the use of the recipient 
and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss 
and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, 
disclose, copy or retain this email and you should notify the sender 
immediately by return email or by contacting Sensis Pty Ltd by telephone on 
[+61 3 8653 5000]

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

Reply via email to