SV: SV: [OpenLayers-Dev] Command line Closure compiler and Windows

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Tue Sep 20 21:54:53 EDT 2011


On Sep 20, 2011, at 5:12 PM, ext Phil Scadden wrote:

>> Yep. These are expected warnings from closure. (There is some movement 
> towards actually getting full >closure support out of the library, but 
> we haven't made it a priority yet.) -- Chris
> 
> I'm struggling to get my head around the closure compiler. If I wrote my 
> code properly, added all the OL libraries to it and compiled with 
> closure, will end up a single file js, with only the bits of OL that it 
> actually uses?

No. OpenLayers does not support "advanced" optimizations that would
make this kind of thing possible. (Making some of the library available
under advanced optimizations might be something which could be targeted
for a funded development effort, since it's a non-trivial operation.)

-- Chris

> 
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
> 
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



More information about the Dev mailing list