[Geoserver-devel] Some dependency cleanup? (RestConfig, GeoWebCache, SLDService)

Hi,
today I was looking into the set of dependencies of a custom
GeoServer build that uses the csv, sldService, restConfig
and geowebcache modules on 1.6.x and noticed some extra jars
in the list that raised my curiosity.

RestConfig depends on Jaxen, yet I removed it from
the Eclipse classpath and no compile error appeared. Are they
really necessary?

SLDService depends on XOM, which again does not really seem to
be necessary. Anyone knows otherwise?

GeoWebCache module in GeoServer pulls in jcs (indirectly)
which happens to depend on a wider set of jars, some of
them conflicting with ones we have in GeoServer already
(but with a differetn version or sub-package, such as
commons-beanutils and commons-logging). Do we use JCS at
all? If not the dependency in GWC module could just
exclude the transitive JCS dependency (web module has
some examples).

Cheers
Andrea

On Thursday 10 July 2008 08:59:21 Andrea Aime wrote:

Hi,
today I was looking into the set of dependencies of a custom
GeoServer build that uses the csv, sldService, restConfig
and geowebcache modules on 1.6.x and noticed some extra jars
in the list that raised my curiosity.

RestConfig depends on Jaxen, yet I removed it from
the Eclipse classpath and no compile error appeared. Are they
really necessary?

The functionality that required Jaxen has been moved to the rest module, so
RESTConfig doesn't directly depend on it any more. I'll remove the
dependency; thanks for catching this Andrea.

SLDService depends on XOM, which again does not really seem to
be necessary. Anyone knows otherwise?

GeoWebCache module in GeoServer pulls in jcs (indirectly)
which happens to depend on a wider set of jars, some of
them conflicting with ones we have in GeoServer already
(but with a differetn version or sub-package, such as
commons-beanutils and commons-logging). Do we use JCS at
all? If not the dependency in GWC module could just
exclude the transitive JCS dependency (web module has
some examples).

Cheers
Andrea

!DSPAM:4040,487607af36034901796417!

Andrea Aime wrote:

Hi,
today I was looking into the set of dependencies of a custom
GeoServer build that uses the csv, sldService, restConfig
and geowebcache modules on 1.6.x and noticed some extra jars
in the list that raised my curiosity.

RestConfig depends on Jaxen, yet I removed it from
the Eclipse classpath and no compile error appeared. Are they
really necessary?

SLDService depends on XOM, which again does not really seem to
be necessary. Anyone knows otherwise?

GeoWebCache module in GeoServer pulls in jcs (indirectly)
which happens to depend on a wider set of jars, some of
them conflicting with ones we have in GeoServer already
(but with a differetn version or sub-package, such as
commons-beanutils and commons-logging). Do we use JCS at
all? If not the dependency in GWC module could just
exclude the transitive JCS dependency (web module has
some examples).
  

Darn... I was sure I had removed JCS weeks ago, I guess something got in between. I will remove it from GeoWebCache before the end of the day, thanks for pointing it out.

-Arne

Cheers
Andrea

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4038,487607d839501439371379!