All,
I am trying to use gt2-xmlcodegen to generate binding code for ows
schema, and I got a NullPointerException error from
org.geotools.xml.Schemas.getIncludes(), so I wonder that was caused by
<include schemaLocation="..."> in ows schema itself.
Does anyone have clue on how to solve that?
Here is the plugin configure
<configuration>
<schemaLocation>owsAll.xsd</schemaLocation>
<schemaSourceDirectory>\src\main\xsd\ows\1.0.0\</schemaSourceDirectory>
<schemaLookupDirectories>
<schemaLookupDirectory>\src\main\xsd\ows\1.0.0\</schemaLookupDirectory>
<schemaLookupDirectory>\src\main\xsd\xlink\1.0.0\</schemaLookupDirectory>
</schemaLookupDirectories>
<destinationPackage>org.geotools.ows2.xml</destinationPackage>
<generateConfiguration>true</generateConfiguration>
<generateBindingConfiguration>true</generateBindingConfiguration>
<generateBindingInterface>true</generateBindingInterface>
<generateSchemaLocationResolver>false</generateSchemaLocationResolver>
<generateElements>true</generateElements>
<includes>
<include>ExceptionReport</include>
<include>ExceptionType</include>
</includes>
</configuration>
-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users