On Mon, Feb 6, 2012 at 1:00 PM, Gabriel Roldan <grol...@opengeo.org> wrote:

> On Mon, Feb 6, 2012 at 12:55 PM, Andrea Aime
> <andrea.a...@geo-solutions.it> wrote:
> > On Mon, Feb 6, 2012 at 4:13 PM, Gabriel Roldan <grol...@opengeo.org>
> wrote:
> >> Rest assured having the tile layer configuration so close to the
> >> layer/group is "handy". Specially because of the monolithic gwc
> >> configuration file, which would have to be overridden as a whole
> >> every time a layer config changes. Which makes me think that perhaps
> >> we could get the better of both worlds by keeping the geoserver tile
> >> layer configuration as a separate file next to the layer.xml or
> >> layergroup config file instead, as there's no room at least on the gwc
> >> stable branch to change its configuration subsystem to stop being
> >> monolithic.
> >
> > A gwc.xml or tilecache.xml sidecar file would be good, especially if the
> > contents of the file are already, or could become, large
>
> Yup, my inclination too. Guess it'd make things "cleaner".
>
> So in order to finally being able of getting the UI config on _trunk
> only_ I'll do that.
>

What I finally did is to keep the gwc layer configs totally separate, so
less stuff to be moved around for example when a resource changes workspace
etc.
So geoserver tile layer configs would be at <data
dir>/gwc-layers/<layer>.xml. Sounds good?

On a related note, in order to being able of saving the configuration from
a layer edit page tab to someplace different than the layer/resource
metadata map, some mechanism shall exist so that when hitting save both the
layer is saved to the catalog, and the contributed tab can do its own save.
The following patch just does that: <
https://github.com/groldan/geoserver/commit/3d262a53cef5b33e33a001aebebab65fb6bb77ee
>
If no objections, I should be ready to commit.

Cheers,
Gabriel
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to