[OpenLayers-Dev] build for hosted examples

Andreas Hocevar 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.

Andreas.

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.
>
> https://github.com/openlayers/openlayers/commit/fa15785c9631a9f54b001058906cc51badb86f4d
>
> 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
> examples.
>
> 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.
>
> Thanks,
> Tim
>
> --
> Tim Schaub
> OpenGeo http://opengeo.org/
> Expert service straight from the developers.
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Dev mailing list