Unit tests fail in path with spaces ----------------------------------- Key: GEOT-1714 URL: http://jira.codehaus.org/browse/GEOT-1714 Project: GeoTools Issue Type: Bug Reporter: Ben Caradoc-Davies Priority: Minor
Unit tests fail when "mvn install" is run in a path that contains spaces. This problem bites many Windows GeoTools developers when working under "Documents and Settings". Workaround is to Not Do That, and to develop under C:\Users or any other path without spaces. See also GEOS-1760 (similar problem in GeoServer). Procedure to repeat: mkdir "path with spaces" cd "path with spaces" svn export http://svn.geotools.org/geotools/branches/2.4.x GeoTools-2.4 cd GeoTools-2.4 mvn install Result: unit test failure Example surefire report: ------------------------------------------------------------------------------- Test set: org.geotools.xml.FacetTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.062 sec <<< FAILURE! testList(org.geotools.xml.FacetTest) Time elapsed: 0.047 sec <<< ERROR! javax.xml.transform.TransformerException: org.xml.sax.SAXException: Error parsing: /C:/Users/car605/path at org.geotools.xml.DOMParser.parse(DOMParser.java:85) at org.geotools.xml.FacetTest.testList(FacetTest.java:31) testWhitespace(org.geotools.xml.FacetTest) Time elapsed: 0.015 sec <<< ERROR! javax.xml.transform.TransformerException: org.xml.sax.SAXException: Error parsing: /C:/Users/car605/path at org.geotools.xml.DOMParser.parse(DOMParser.java:85) at org.geotools.xml.FacetTest.testWhitespace(FacetTest.java:57) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel