[OpenLayers-Dev] build for hosted examples
ahocevar at opengeo.org
Fri Mar 2 03:42:29 EST 2012
I think Tim's suggestion makes sense: let's make examples use a full
build without deprecated.js, and remove all examples that don't work
with that build.
On Fri, Mar 2, 2012 at 1:22 AM, Tim Schaub <tschaub at opengeo.org> wrote:
> Last year, we changed the script that builds OpenLayers.js for the
> examples to use the "tests" configuration.
> I can't say I remember exactly why this made sense, but as it says in
> the commit message, this brings in lang and console utilities. It
> also brings in all of deprecated.js. So, while they are never used,
> all our examples have the full error message translations (Ripoarisch,
> Tiếng Việt, and all) and all deprecated functionality. I know this is
> useful for running the hosted tests with mode=build, but I'm thinking
> it would make more sense to use the "full" profile for hosted
> Anybody have opinions one way or another? I'm inclined to switch to
> full and clean up (remove) any examples that rely on deprecated stuff.
> Tim Schaub
> OpenGeo http://opengeo.org/
> Expert service straight from the developers.
> Dev mailing list
> Dev at lists.osgeo.org
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Dev