after repeated svn, mvn -u clean, remove and re-checkout I get some
consistent failures building gt2.4
shapefile test fails with:
-------------------------------------------------------------------------------
Test set: org.geotools.data.shapefile.ShapefileDataStoreTest
-------------------------------------------------------------------------------
Tests run: 20, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.875 sec
<<< FAILURE!
testLoadChineseChars(org.geotools.data.shapefile.ShapefileDataStoreTest)
Time elapsed: 0 sec <<< ERROR!
java.nio.charset.UnsupportedCharsetException: GB18030
at java.nio.charset.Charset.forName(Unknown Source)
at
org.geotools.data.shapefile.ShapefileDataStoreTest.testLoadChineseChars(ShapefileDataStoreTest.java:126)
This seems to be a dependency - can it be managed by mvn? Or can it fail
gracefully with a warning if not able to run the test?
xml-xsd fails with this using mvn (but it runs under eclipse!)
-------------------------------------------------------------------------------
Test set: org.geotools.xs.bindings.XSQNameBindingTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.063 sec
<<< FAILURE!
testWithNoPrefix(org.geotools.xs.bindings.XSQNameBindingTest) Time elapsed:
0 sec <<< ERROR!
java.lang.IllegalArgumentException: prefix bar is not bound to a namespace
at javax.xml.bind.DatatypeConverterImpl._parseQName(Unknown Source)
at javax.xml.bind.DatatypeConverterImpl.parseQName(Unknown Source)
at javax.xml.bind.DatatypeConverter.parseQName(Unknown Source)
at
org.geotools.xs.bindings.XSQNameBinding.parse(XSQNameBinding.java:109)
at
org.geotools.xs.bindings.XSQNameBindingTest.testWithNoPrefix(XSQNameBindingTest.java:46)
This feels like some multiple xml parsers on the path being loaded
differently in mvn and eclipse.
When I build trunk - it behaves OK.
any clues appreciated.
Rob A
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel