gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: Packaged dom4j and build of jaxen
Date Wed, 28 Jan 2004 13:16:43 GMT
Stefan Bodewig wrote:

>On Tue, 27 Jan 2004, Scott Sanders <scott@dotnot.org> wrote:
>
>  
>
>>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:
>
>[bodewig@bodewig 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: gump-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: gump-help@jakarta.apache.org
>
>
>  
>
On lsd.student.utwente.nl, the jaxen tests compile, but there is another 
error which we probably can fix.
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

Mime
View raw message