GML3 tests break the build on windows
-------------------------------------
Key: GEOT-1529
URL: http://jira.codehaus.org/browse/GEOT-1529
Project: GeoTools
Issue Type: Bug
Components: core xml
Affects Versions: 2.4-RC0
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Priority: Blocker
Fix For: 2.4-RC1
Attachments: gml3.patch
The 2.4.x build breaks on windows due to a couple of failures in the GML3
module.
Both failures are related to the assumption the file system is unix based, uses
"/" as a separator,
and does not complain too much about paths like "file://xxxhttp://yyy". Both
assumptions
do break under windows.
The attached patches solve the problem for me.
The one in ApplicationSchemaConfigurationTest makes sure the locations provided
to ApplicationSchemaConfiguration are true URI, and thus contain only "/"
instead of "\".
The second one makes ApplicationSchemaConfiguration more tolerant to the IO
exceptions that might arise when extracting a canonical path.
Yet, if ApplicaitonSchemaConfiguration needs a true URI to work, why not impose
the schemaLocation parameter to be one instead of using a string?
--
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel