Ah stunning, thanks very much, it's down to 89K so if I also get the webserver to compress it there'll hardly be anything left. Now I just have to see if it works!<br><br>thanks.<br><br><div><span class="gmail_quote">
On 8/10/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Aug 09, 2007 at 10:30:23AM +0100, Tom (JDi Solutions) wrote:<br>> Hi all,<br>><br>> I'm currently experimenting with compressing OpenLayers and have been<br>> running build.py to create a compressed version of the library, however the
<br>> smallest version I seem to be able to make is 220K and from the output at<br>> the command line it seems to be including loads more stuff than I actually<br>> need despite my library.cfg file looking like this:
<br>><br>><br>> I'm assuming I may actually need Rico, SingleFile, OpenLayers and<br>> BaseTypes? But is it possible to get rid of the likes of virtualearth,<br>> yahoo and all that stuff? All I want in this version is WMS, some mouse
<br>> controls and point and I want the file as small as possible. 220K just<br>> seems like more than it ought to be?<br>><br>> Do I need to specifically include all the stuff I don't want in the exclude
<br>> list or are things included as dependencies?<br><br><a href="http://trac.openlayers.org/wiki/Profiles">http://trac.openlayers.org/wiki/Profiles</a><br><br>"If you wish to create a build where you must specify each file you wish
<br>to include, you should then add files to an '[include]' stanza, as<br>lite.cfg does. If you wish to create a build where all files in the lib/<br>directory are included by default, and you wish to *exclude* certain
<br>files, you can do this by putting filenames under the [exclude] header.<br>Look at the files library.cfg and lite.cfg in the build/ directory for<br>examples of this behavior."<br><br>Dependancies are/should be added automatically, though there are many
<br>files that are missing dependancies that you may have to add manually.<br>missing dependancies can be filed as bugs.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>