On Thu, Oct 25, 2012 at 5:48 PM, Michael Bedward
<michael.bedw...@gmail.com>wrote:

> On 26 October 2012 06:24, Gabriel Roldan <grol...@opengeo.org> wrote:
> > re xerces, we'd also need to exclude it from the JTS dependency:
> > [INFO] |  +- com.vividsolutions:jts:jar:1.12:compile
> > [INFO] |  |  \- xerces:xercesImpl:jar:2.7.1:compile (version managed
> from 2.4.0)
> >
>
> The JTS jars from Maven only include the core stuff. I build and
> deploy them for Martin when he releases new versions. A quick grep of
> the sources shows that although xerces is declared as a dependency it
> is not actually used in any of the core classes. The only reference to
> it at all is a commented-out line in KMLReaderExample.java.  So, when
> Martin releases JTS 1.13 I can remove the redundant xerces dependency
> from the JTS pom (assuming that it still isn't required).
>
> Caveat: I actually have no idea what this thread is about or why
> xerces is a problem - I just saw Gabriel's reference to JTS.
>

Btw, i did this on the branch i pushed up, that is added an exclusion on
the jts dependency. I can't remember exactly what JTS uses it for but its
part of the "IO" packages which i don't think are really used anywhere by
GeoTools. I could be wrong.

To sum up Michael, as of java 1.6 (might even be 1.5) the java runtime
ships with an internal version of xerces, so its technically not needed.
But its not exposed directly (or at least in the proprietary package
com.sun). So using it involves using a new "jaxp" / javax.xml api.

>
> Michael
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to