How can I use the new JUnit 4.1 with ANT 1.7.X?  If I put the new junit.jar on 
the classpath, everything seems to work until the very end when the unit test 
report is created.  ANT tries to use the XSL stylesheets from ant-junit.jar 
which apparently is not compatible with JUnit 4.1.

test.report:
Processing C:\svn\trunk\ADT\build\tests\win32\TESTS-TestSuites.xml to 
c:\temp\null113546277
Loading stylesheet 
jar:file:/C:/svn/lgcbuild/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/jun
it-frames.xsl
jar:file:/C:/svn/lgcbuild/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl:5:
 Wa
rning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
jar:file:/C:/svn/lgcbuild/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl:36:
 F
atal Error! Unknown extension element
Failed to process C:\svn\trunk\ADT\build\tests\win32\TESTS-TestSuites.xml


---
Shawn Castrianni

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

Reply via email to