[OpenLayers-Dev] Re: Compressor used in the openlayers release version?

Xavier Mamano (jorix) xavier.mamano at gmail.com
Wed Jul 6 14:45:44 EDT 2011


Hi,

There is a bug, now "build.py -c closure" does not work on Windows systems
(With Linux there is no problem). 

See: http://trac.osgeo.org/openlayers/ticket/3158

Xavier Mamano



Phil Scadden wrote:
> 
>>
>> The examples available at<http://www.openlayers.org/dev/examples/>
>> now rely on OpenLayers builds compressed with the Google Closure
>> compiler.
>>
> Any idea why, when I use the closure compiler, command line is:
> build.py -c closure full OpenLayers-closure.js
> 
> I get this (after merging libraries)
> 
> Compressing using closure
> java.io.FileNotFoundException: 
> c:\docume~1\scaddenp\locals~1\temp\tmpfoewdx (The
>   process cannot access the file because it is being used by another 
> process)
>          at java.io.FileOutputStream.open(Native Method)
>          at java.io.FileOutputStream.<init>(Unknown Source)
>          at java.io.FileOutputStream.<init>(Unknown Source)
>          at 
> com.google.javascript.jscomp.AbstractCommandLineRunner.filenameToOutp
> utStream(Unknown Source)
>          at 
> com.google.javascript.jscomp.AbstractCommandLineRunner.fileNameToOutp
> utWriter(Unknown Source)
>          at 
> com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(Unknown
> Source)
>          at 
> com.google.javascript.jscomp.AbstractCommandLineRunner.run(Unknown So
> urce)
>          at com.google.javascript.jscomp.CommandLineRunner.main(Unknown 
> Source)
> 
> -- 
> Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
> Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477
> 5232
> 
> 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
> 


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compressor-used-in-the-openlayers-release-version-tp6534884p6555591.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list