C:\APACHE\xml-security>ant test
Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It
could not be found.
init:
[echo] -------------------------------------------------------------------
[echo] --------- Apache-XML-Security-J v1.1.0 [2000-2004] -----------
[echo] -------------------------------------------------------------------
[echo] Building with Apache Ant version 1.6.1 compiled on February 12 2004
[echo] Java 1.5.0-beta2 located at C:\JDK15\jre
[echo] -------------------------------------------------------------------
do.check.libs.jce:
do.check.libs:
do.build.src:
env.mk.dirs:
do.check.bindist:
build.src:
[javac] Compiling 145 source files to C:\APACHE\xml-security\build\classes
[javac] C:\APACHE\xml-security\src\org\apache\xml\security\utils\XMLUtils.java:328:
warning: non-varargs call of varargs method with
[javac] cast to java.lang.Class for a varargs call
[javac] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
[javac] m = Thread.class.getMethod("getContextClassLoader", null);
[javac] ^
[javac] C:\APACHE\xml-security\src\org\apache\xml\security\utils\XMLUtils.java:336:
warning: non-varargs call of varargs method with
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to
suppress this warning
[javac] return (ClassLoader)
m.invoke(Thread.currentThread(), null);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 warnings
[copy] Copying 12 files to C:\APACHE\xml-security\build\classes
build.test:
[javac] Compiling 27 source files to C:\APACHE\xml-security\build\test
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 1 file to C:\APACHE\xml-security\build\test
test:
[mkdir] Created dir: C:\APACHE\xml-security\build\docs\xml\junit
[mkdir] Created dir: C:\APACHE\xml-security\build\docs\html\junit
[junit] Running org.apache.xml.security.test.c14n.helper.AttrCompareTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xpath/Expression
[junit] at
org.apache.xml.security.test.c14n.helper.AttrCompareTest.<clinit>(Unknown
Source)
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
[junit] TEST org.apache.xml.security.test.c14n.helper.AttrCompareTest FAILED
[junit] Running org.apache.xml.security.test.c14n.helper.C14nHelperTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xpath/Expression
[junit] at
org.apache.xml.security.test.c14n.helper.C14nHelperTest.<clinit>(Unknown
Source)
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
[junit] TEST org.apache.xml.security.test.c14n.helper.C14nHelperTest FAILED
[junit] Running
org.apache.xml.security.test.c14n.implementations.C14NInteropTest
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1.102 sec
[junit] Testsuite:
org.apache.xml.security.test.c14n.implementations.C14NInteropTest
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1.102 sec
[junit] Testcase: test_Y1 took 0.28 sec
[junit] Caused an ERROR
[junit] org/apache/xpath/Expression
[junit] java.lang.NoClassDefFoundError: org/apache/xpath/Expression
[junit] at
org.apache.xml.security.utils.I18n.getExceptionMessage(Unknown Source)
[junit] at
org.apache.xml.security.exceptions.XMLSecurityException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.signature.XMLSignatureException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.utils.XMLUtils.guaranteeThatElementInSignatureSpace(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.getSignatureMethodElement(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.<init>(Unknown Source)
[junit] at
org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.t(Unknown
Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.test_Y1(Unknown
Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[junit] Testcase: test_Y2 took 0.09 sec
[junit] Caused an ERROR
[junit] org/apache/xpath/Expression
[junit] java.lang.NoClassDefFoundError: org/apache/xpath/Expression
[junit] at
org.apache.xml.security.utils.I18n.getExceptionMessage(Unknown Source)
[junit] at
org.apache.xml.security.exceptions.XMLSecurityException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.signature.XMLSignatureException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.utils.XMLUtils.guaranteeThatElementInSignatureSpace(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.getSignatureMethodElement(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.<init>(Unknown Source)
[junit] at
org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.t(Unknown
Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.test_Y2(Unknown
Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[junit] Testcase: test_Y3 took 0.05 sec
[junit] Caused an ERROR
[junit] org/apache/xpath/Expression
[junit] java.lang.NoClassDefFoundError: org/apache/xpath/Expression
[junit] at
org.apache.xml.security.utils.I18n.getExceptionMessage(Unknown Source)
[junit] at
org.apache.xml.security.exceptions.XMLSecurityException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.signature.XMLSignatureException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.utils.XMLUtils.guaranteeThatElementInSignatureSpace(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.getSignatureMethodElement(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.<init>(Unknown Source)
[junit] at
org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.t(Unknown
Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.test_Y3(Unknown
Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[junit] Testcase: test_Y4 took 0.15 sec
[junit] Caused an ERROR
[junit] org/apache/xpath/Expression
[junit] java.lang.NoClassDefFoundError: org/apache/xpath/Expression
[junit] at
org.apache.xml.security.utils.I18n.getExceptionMessage(Unknown Source)
[junit] at
org.apache.xml.security.exceptions.XMLSecurityException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.signature.XMLSignatureException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.utils.XMLUtils.guaranteeThatElementInSignatureSpace(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.getSignatureMethodElement(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.<init>(Unknown Source)
[junit] at
org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.t(Unknown
Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.test_Y4(Unknown
Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[junit] Testcase: test_Y4_stripped took 0.111 sec
[junit] Caused an ERROR
[junit] org/apache/xpath/Expression
[junit] java.lang.NoClassDefFoundError: org/apache/xpath/Expression
[junit] at
org.apache.xml.security.utils.I18n.getExceptionMessage(Unknown Source)
[junit] at
org.apache.xml.security.exceptions.XMLSecurityException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.signature.XMLSignatureException.<init>(Unknown
Source)
[junit] at
org.apache.xml.security.utils.XMLUtils.guaranteeThatElementInSignatureSpace(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.getSignatureMethodElement(Unknown
Source)
[junit] at
org.apache.xml.security.signature.SignedInfo.<init>(Unknown Source)
[junit] at
org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.t(Unknown
Source)
[junit] at
org.apache.xml.security.test.c14n.implementations.C14NInteropTest.test_Y4_stripped(Unknown
Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[junit] TEST
org.apache.xml.security.test.c14n.implementations.C14NInteropTest
FAILED
[junit] Running
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315ExclusiveTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xpath/Expression
[junit] at
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315ExclusiveTest.<clinit>(Unknown
Source)
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
[junit] TEST
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315ExclusiveTest
FAILED
[junit] Running
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315Test
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xpath/Expression
[junit] at
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315Test.<clinit>(Unknown
Source)
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
[junit] TEST
org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315Test
FAILED
[junit] Running
org.apache.xml.security.test.c14n.implementations.ExclusiveC14NInterop
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.801 sec
[junit] Testsuite:
org.apache.xml.security.test.c14n.implementations.ExclusiveC14NInterop
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.801 sec
On Tue, 22 Jun 2004 11:47:07 -0700, Vishal Mahajan
<[EMAIL PROTECTED]> wrote:
>
> Dims,
>
> Davanum Srinivas wrote:
> >
> > Vishal,
> >
> > I was thinking about the xalan dependency and noticed that JDK15 has
> > xalan under com.sun.apache.*...Are u planning to take a stab at being
> > able to run "ant test" using JDK15 without extra Xalan jar
>
> I am caught up in some other work this week. Next week there's JavaOne and after
> that I'm going out on a vacation for a couple of weeks. Did anyone give it a shot?
> What are the issues?
>
> Regards,
> Vishal
>
>
>
> >
> > thanks,
> > dims
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/