On Tue, 27 Jan 2004, Scott Sanders <[EMAIL PROTECTED]> wrote:On lsd.student.utwente.nl, the jaxen tests compile, but there is another error which we probably can fix.
As it was one thing that I *could* do, I just checked in a code
change to make the jdom DocumentNavigator work with the HEAD
revision of JDOM's CVS.
great, looks very promising. Thanks a lot.
Perhaps this can take us one step closer to jaxen/dom4j nirvana :)
Yep, the test won't compile, though:
[EMAIL PROTECTED] gump]$ ./build.sh jaxen-from-packaged-dom4j dist Buildfile: build.xml
init: [mkdir] Created dir: /javastuff/gump/jaxen/target/lib
get-deps:
compile: [mkdir] Created dir: /javastuff/gump/jaxen/target/classes [javac] Compiling 199 source files to /javastuff/gump/jaxen/target/classes [javac] /javastuff/gump/jaxen/src/java/main/org/jaxen/jdom/DocumentNavigator.java:202: warning: getChildren(java.lang.String) in org.jdom.Element has been deprecated [javac] return node.getChildren(localName).iterator(); [javac] ^ [javac] /javastuff/gump/jaxen/src/java/main/org/jaxen/jdom/DocumentNavigator.java:204: warning: getChildren(java.lang.String,org.jdom.Namespace) in org.jdom.Element has been deprecated [javac] return node.getChildren(localName, Namespace.getNamespace(namespacePrefix, namespaceURI)).iterator(); [javac] ^ [javac] 2 warnings
compile-tests: [mkdir] Created dir: /javastuff/gump/jaxen/target/test-classes [javac] Compiling 23 source files to /javastuff/gump/jaxen/target/test-classes [javac] /javastuff/gump/jaxen/src/java/test/org/jaxen/AddNamespaceTest.java:124: unreported exception org.jaxen.JaxenException; must be caught or declared to be thrown [javac] super( expr ); [javac] ^ [javac] /javastuff/gump/jaxen/src/java/test/org/jaxen/JaxenHandlerTest.java:158: setXPathHandler(org.jaxen.saxpath.XPathHandler) in org.jaxen.saxpath.SAXPathEventSource cannot be applied to (org.jaxen.JaxenHandler) [javac] reader.setXPathHandler( handler ); [javac] ^ [javac] /javastuff/gump/jaxen/src/java/test/org/jaxen/JaxenHandlerTest.java:203: setXPathHandler(org.jaxen.saxpath.XPathHandler) in org.jaxen.saxpath.SAXPathEventSource cannot be applied to (org.jaxen.JaxenHandler) [javac] reader.setXPathHandler( handler ); [javac] ^ [javac] 3 errors
BUILD FAILED /javastuff/gump/jaxen/build.xml:112: Compile failed; see the compiler error output for details.
Total time: 12 seconds
Stefan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
http://lsd.student.utwente.nl/gump/jaxen/jaxen-from-packaged-dom4j.html
I guess target/test-classes must be in the classpath for the Junit tests but are not.
Antoine
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
