Hi. This is really weird. Open OpenLayers.js in an editor and search for "OpenLayers.Control = OpenLayers.Class", you should get one occurence of this, otherwise your build isn't valid, for some reason. Eric
2008/8/28, Linda Rawson <[EMAIL PROTECTED]>: > I have been on another project so I am just getting around to compressing my > version of openlayers. So I thought I would try the stable version first > before adding my stuff into it. > > Here are my steps: > > 1. Grabbed latest stable build. > 2. Switched to build directory. > 3. python ./build.py full.cfg > 4. Copied Openlayers.js (466 KB) to .. (1 directory above lib, same level > as build, img, theme, tools) > 5. Moved SpericalMercator.html example to this directory also. > 6. Changed to point to > > <script src="OpenLayers.js"></script> > 7. Run and get the following error: > Microsoft JScript runtime error: 'OpenLayers.Control' is null or not an > object. > > I also get this when I use what I used in 2.5 to compress and it does not > work in 2.6. > > Does anybody have any idea what to do with this error? I would really like > to compress Openlayers. > > Thanks! > -- > Linda Rawson > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
