Ah stunning, thanks very much, it&#39;s down to 89K so if I also get the webserver to compress it there&#39;ll hardly be anything left.&nbsp; 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> &lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt; 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>&gt; Hi all,<br>&gt;<br>&gt; I&#39;m currently experimenting with compressing OpenLayers and have been<br>&gt; running build.py to create a compressed version of the library, however the
<br>&gt; smallest version I seem to be able to make is 220K and from the output at<br>&gt; the command line it seems to be including loads more stuff than I actually<br>&gt; need despite my library.cfg file looking like this:
<br>&gt;<br>&gt;<br>&gt; I&#39;m assuming I may actually need Rico, SingleFile, OpenLayers and<br>&gt; BaseTypes?&nbsp;&nbsp;But is it possible to get rid of the likes of virtualearth,<br>&gt; yahoo and all that stuff?&nbsp;&nbsp;All I want in this version is WMS, some mouse
<br>&gt; controls and point and I want the file as small as possible.&nbsp;&nbsp;220K just<br>&gt; seems like more than it ought to be?<br>&gt;<br>&gt; Do I need to specifically include all the stuff I don&#39;t want in the exclude
<br>&gt; 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>&quot;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 &#39;[include]&#39; 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.&quot;<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>