[OpenLayers-Users] Single File Build Failure on Trunk

tschaub at openplans.org tschaub at openplans.org
Tue Sep 18 04:31:12 EDT 2007


On Tue, September 18, 2007 3:42 am, Tom (JDi Solutions) wrote:
> Hi,
>
>
> Having just downloaded fresh from trunk the single file build is not
> working.  Complete output with full.cfg and library.cfg included below:
>
> Can someone confirm it's not just me.  If it's not, shall I report in
> trac?
>

Thanks for catching this.  I caused this trouble by adding circular
@requires comments for the WKT format and the geometry classes.  There was
no problem with RC1, and the single-file build now works on the trunk
again.  Unless something changes with the build tools, you'll just have to
keep in mind that if you want WKT with a custom build profile, you'll need
to manually configure your build to get the right geometry classes.

Tim

> With full.cfg I get:
>
>
> Merging libraries.
> Importing: OpenLayers.js
> Importing: OpenLayers/Ajax.js
> Importing: OpenLayers/BaseTypes.js
> Importing: OpenLayers/Console.js
> Importing: OpenLayers/Control.js
> Importing: OpenLayers/Events.js
> Importing: OpenLayers/Feature.js
> Importing: OpenLayers/Format.js
> Importing: OpenLayers/Geometry.js
> Importing: OpenLayers/Handler.js
> Importing: OpenLayers/Icon.js
> Importing: OpenLayers/Layer.js
> Importing: OpenLayers/Map.js
> Importing: OpenLayers/Marker.js
> Importing: OpenLayers/Popup.js
> Importing: OpenLayers/Renderer.js
> Importing: OpenLayers/SingleFile.js
> Importing: OpenLayers/Tile.js
> Importing: OpenLayers/Util.js
> Importing: OpenLayers/BaseTypes/Bounds.js
> Importing: OpenLayers/BaseTypes/Class.js
> Importing: OpenLayers/BaseTypes/Element.js
> Importing: OpenLayers/BaseTypes/LonLat.js
> Importing: OpenLayers/BaseTypes/Pixel.js
> Importing: OpenLayers/BaseTypes/Size.js
> Importing: OpenLayers/Control/ArgParser.js
> Importing: OpenLayers/Control/Attribution.js
> Importing: OpenLayers/Control/DragFeature.js
> Importing: OpenLayers/Control/DragPan.js
> Importing: OpenLayers/Control/DrawFeature.js
> Importing: OpenLayers/Control/EditingToolbar.js
> Importing: OpenLayers/Control/KeyboardDefaults.js
> Importing: OpenLayers/Control/LayerSwitcher.js
> Importing: OpenLayers/Control/ModifyFeature.js
> Importing: OpenLayers/Control/MouseDefaults.js
> Importing: OpenLayers/Control/MousePosition.js
> Importing: OpenLayers/Control/MouseToolbar.js
> Importing: OpenLayers/Control/Navigation.js
> Importing: OpenLayers/Control/NavToolbar.js
> Importing: OpenLayers/Control/OverviewMap.js
> Importing: OpenLayers/Control/Panel.js
> Importing: OpenLayers/Control/PanZoom.js
> Importing: OpenLayers/Control/PanZoomBar.js
> Importing: OpenLayers/Control/Permalink.js
> Importing: OpenLayers/Control/Scale.js
> Importing: OpenLayers/Control/SelectFeature.js
> Importing: OpenLayers/Control/ZoomBox.js
> Importing: OpenLayers/Control/ZoomToMaxExtent.js
> Importing: OpenLayers/Feature/Vector.js
> Importing: OpenLayers/Feature/WFS.js
> Importing: OpenLayers/Format/GeoJSON.js
> Importing: OpenLayers/Format/GeoRSS.js
> Importing: OpenLayers/Format/GML.js
> Importing: OpenLayers/Format/JSON.js
> Importing: OpenLayers/Format/KML.js
> Importing: OpenLayers/Format/WFS.js
> Importing: OpenLayers/Format/WKT.js
> Importing: OpenLayers/Format/XML.js
> Importing: OpenLayers/Geometry/Collection.js
> Importing: OpenLayers/Geometry/Curve.js
> Importing: OpenLayers/Geometry/LinearRing.js
> Importing: OpenLayers/Geometry/LineString.js
> Importing: OpenLayers/Geometry/MultiLineString.js
> Importing: OpenLayers/Geometry/MultiPoint.js
> Importing: OpenLayers/Geometry/MultiPolygon.js
> Importing: OpenLayers/Geometry/Point.js
> Importing: OpenLayers/Geometry/Polygon.js
> Importing: OpenLayers/Geometry/Rectangle.js
> Importing: OpenLayers/Geometry/Surface.js
> Importing: OpenLayers/Handler/Box.js
> Importing: OpenLayers/Handler/Drag.js
> Importing: OpenLayers/Handler/Feature.js
> Importing: OpenLayers/Handler/Keyboard.js
> Importing: OpenLayers/Handler/MouseWheel.js
> Importing: OpenLayers/Handler/Path.js
> Importing: OpenLayers/Handler/Point.js
> Importing: OpenLayers/Handler/Polygon.js
> Importing: OpenLayers/Handler/RegularPolygon.js
> Importing: OpenLayers/Layer/Boxes.js
> Importing: OpenLayers/Layer/EventPane.js
> Importing: OpenLayers/Layer/FixedZoomLevels.js
> Importing: OpenLayers/Layer/GeoRSS.js
> Importing: OpenLayers/Layer/GML.js
> Importing: OpenLayers/Layer/Google.js
> Importing: OpenLayers/Layer/Grid.js
> Importing: OpenLayers/Layer/HTTPRequest.js
> Importing: OpenLayers/Layer/Image.js
> Importing: OpenLayers/Layer/KaMap.js
> Importing: OpenLayers/Layer/MapServer.js
> Importing: OpenLayers/Layer/Markers.js
> Importing: OpenLayers/Layer/MultiMap.js
> Importing: OpenLayers/Layer/SphericalMercator.js
> Importing: OpenLayers/Layer/Text.js
> Importing: OpenLayers/Layer/TileCache.js
> Importing: OpenLayers/Layer/TMS.js
> Importing: OpenLayers/Layer/Vector.js
> Importing: OpenLayers/Layer/VirtualEarth.js
> Importing: OpenLayers/Layer/WFS.js
> Importing: OpenLayers/Layer/WMS.js
> Importing: OpenLayers/Layer/WorldWind.js
> Importing: OpenLayers/Layer/Yahoo.js
> Importing: OpenLayers/Layer/MapServer/Untiled.js
> Importing: OpenLayers/Layer/WMS/Untiled.js
> Importing: OpenLayers/Marker/Box.js
> Importing: OpenLayers/Popup/Anchored.js
> Importing: OpenLayers/Popup/AnchoredBubble.js
> Importing: OpenLayers/Renderer/Elements.js
> Importing: OpenLayers/Renderer/SVG.js
> Importing: OpenLayers/Renderer/VML.js
> Importing: OpenLayers/Tile/Image.js
> Importing: OpenLayers/Tile/WFS.js
> Importing: Rico/Color.js
> Importing: Rico/Corner.js
>
>
> Resolution pass 1...
> Traceback (most recent call last):
> File "D:\openlayers\build\build.py", line 23, in <module>
> merged = mergejs.run(sourceDirectory, None, configFilename) File
> "../tools\mergejs.py", line 184, in run
> for dependencyLevel in toposort(nodes, routes): File
> "../tools\toposort.py", line 150, in toposort
> raise RecursionError( sortinglist ) RecursionError: [(1,
> 'OpenLayers/Format/WFS.js'), (1,
> 'OpenLayers/Geometry.js'), (1, 'OpenLayers/Geometry/Collection.js'), (1,
> 'OpenLayers/Geometry/Curve.js'), (1, 'OpenLayers/Geometry/LineString.js'),
>  (1, 'OpenLayers/Geometry/LinearRing.js'), (1,
> 'OpenLayers/Geometry/MultiLineString.js'), (1,
> 'OpenLayers/Geometry/MultiPoint.js'), (1,
> 'OpenLayers/Geometry/MultiPolygon.js'), (1,
> 'OpenLayers/Geometry/Point.js'),
> (1, 'OpenLayers/Geometry/Polygon.js'), (1,
> 'OpenLayers/Geometry/Rectangle.js'), (1,
> 'OpenLayers/Geometry/Surface.js'),
> (1, 'OpenLayers/Handler/Point.js'), (2, 'OpenLayers/Handler/Polygon.js'),
> (3, 'OpenLayers/Control/EditingToolbar.js'), (3,
> 'OpenLayers/Format/GeoRSS.js'), (3, 'OpenLayers/Handler/Path.js'), (6,
> 'OpenLayers/Format/GML.js'), (6, 'OpenLayers/Format/GeoJSON.js'), (6,
> 'OpenLayers/Format/KML.js'), (6, 'OpenLayers/Format/WKT.js')]
>
>
>
>
> With library.cfg I get:
>
>
> Merging libraries.
> Importing: OpenLayers.js
> Importing: OpenLayers/Ajax.js
> Importing: OpenLayers/BaseTypes.js
> Importing: OpenLayers/Console.js
> Importing: OpenLayers/Control.js
> Importing: OpenLayers/Events.js
> Importing: OpenLayers/Feature.js
> Importing: OpenLayers/Handler.js
> Importing: OpenLayers/Icon.js
> Importing: OpenLayers/Layer.js
> Importing: OpenLayers/Map.js
> Importing: OpenLayers/Marker.js
> Importing: OpenLayers/Popup.js
> Importing: OpenLayers/SingleFile.js
> Importing: OpenLayers/Tile.js
> Importing: OpenLayers/Util.js
> Importing: OpenLayers/BaseTypes/Bounds.js
> Importing: OpenLayers/BaseTypes/Class.js
> Importing: OpenLayers/BaseTypes/Element.js
> Importing: OpenLayers/BaseTypes/LonLat.js
> Importing: OpenLayers/BaseTypes/Pixel.js
> Importing: OpenLayers/BaseTypes/Size.js
> Importing: OpenLayers/Control/ArgParser.js
> Importing: OpenLayers/Control/Attribution.js
> Importing: OpenLayers/Control/DragFeature.js
> Importing: OpenLayers/Control/DragPan.js
> Importing: OpenLayers/Control/KeyboardDefaults.js
> Importing: OpenLayers/Control/LayerSwitcher.js
> Importing: OpenLayers/Control/ModifyFeature.js
> Importing: OpenLayers/Control/MouseDefaults.js
> Importing: OpenLayers/Control/MousePosition.js
> Importing: OpenLayers/Control/MouseToolbar.js
> Importing: OpenLayers/Control/Navigation.js
> Importing: OpenLayers/Control/NavToolbar.js
> Importing: OpenLayers/Control/OverviewMap.js
> Importing: OpenLayers/Control/Panel.js
> Importing: OpenLayers/Control/PanZoom.js
> Importing: OpenLayers/Control/PanZoomBar.js
> Importing: OpenLayers/Control/Permalink.js
> Importing: OpenLayers/Control/Scale.js
> Importing: OpenLayers/Control/ZoomBox.js
> Importing: OpenLayers/Control/ZoomToMaxExtent.js
> Importing: OpenLayers/Feature/WFS.js
> Importing: OpenLayers/Format/GeoJSON.js
> Importing: OpenLayers/Format/JSON.js
> Importing: OpenLayers/Format/XML.js
> Importing: OpenLayers/Handler/Box.js
> Importing: OpenLayers/Handler/Drag.js
> Importing: OpenLayers/Handler/Feature.js
> Importing: OpenLayers/Handler/Keyboard.js
> Importing: OpenLayers/Handler/MouseWheel.js
> Importing: OpenLayers/Handler/RegularPolygon.js
> Importing: OpenLayers/Layer/Boxes.js
> Importing: OpenLayers/Layer/EventPane.js
> Importing: OpenLayers/Layer/FixedZoomLevels.js
> Importing: OpenLayers/Layer/GeoRSS.js
> Importing: OpenLayers/Layer/Google.js
> Importing: OpenLayers/Layer/Grid.js
> Importing: OpenLayers/Layer/HTTPRequest.js
> Importing: OpenLayers/Layer/Image.js
> Importing: OpenLayers/Layer/KaMap.js
> Importing: OpenLayers/Layer/MapServer.js
> Importing: OpenLayers/Layer/Markers.js
> Importing: OpenLayers/Layer/MultiMap.js
> Importing: OpenLayers/Layer/SphericalMercator.js
> Importing: OpenLayers/Layer/Text.js
> Importing: OpenLayers/Layer/TileCache.js
> Importing: OpenLayers/Layer/TMS.js
> Importing: OpenLayers/Layer/VirtualEarth.js
> Importing: OpenLayers/Layer/WFS.js
> Importing: OpenLayers/Layer/WMS.js
> Importing: OpenLayers/Layer/WorldWind.js
> Importing: OpenLayers/Layer/Yahoo.js
> Importing: OpenLayers/Layer/MapServer/Untiled.js
> Importing: OpenLayers/Layer/WMS/Untiled.js
> Importing: OpenLayers/Marker/Box.js
> Importing: OpenLayers/Popup/Anchored.js
> Importing: OpenLayers/Popup/AnchoredBubble.js
> Importing: OpenLayers/Tile/Image.js
> Importing: OpenLayers/Tile/WFS.js
> Importing: Rico/Color.js
> Importing: Rico/Corner.js
>
>
> Resolution pass 1...
> Importing: OpenLayers/Control/SelectFeature.js
> Importing: OpenLayers/Feature/Vector.js
> Importing: OpenLayers/Format.js
> Importing: OpenLayers/Geometry/LineString.js
> Importing: OpenLayers/Geometry/MultiLineString.js
> Importing: OpenLayers/Geometry/MultiPoint.js
> Importing: OpenLayers/Geometry/MultiPolygon.js
> Importing: OpenLayers/Geometry/Point.js
> Importing: OpenLayers/Geometry/Polygon.js
> Importing: OpenLayers/Layer/Vector.js
>
>
> Resolution pass 2...
> Importing: OpenLayers/Geometry.js
> Importing: OpenLayers/Geometry/Collection.js
> Importing: OpenLayers/Geometry/Curve.js
> Importing: OpenLayers/Renderer.js
>
>
> Resolution pass 3...
> Importing: OpenLayers/Format/WKT.js
>
>
> Resolution pass 4...
> Traceback (most recent call last):
> File "D:\openlayers\build\build.py", line 23, in <module>
> merged = mergejs.run(sourceDirectory, None, configFilename) File
> "../tools\mergejs.py", line 184, in run
> for dependencyLevel in toposort(nodes, routes): File
> "../tools\toposort.py", line 150, in toposort
> raise RecursionError( sortinglist ) RecursionError: [(1,
> 'OpenLayers/Geometry.js'), (1,
> 'OpenLayers/Geometry/Collection.js'), (1, 'OpenLayers/Geometry/Curve.js'),
>  (1, 'OpenLayers/Geometry/LineString.js'), (1,
> 'OpenLayers/Geometry/MultiLineString.js'), (1,
> 'OpenLayers/Geometry/MultiPoint.js'), (1,
> 'OpenLayers/Geometry/MultiPolygon.js'), (1,
> 'OpenLayers/Geometry/Point.js'),
> (1, 'OpenLayers/Geometry/Polygon.js'), (6,
> 'OpenLayers/Format/GeoJSON.js'),
> (6, 'OpenLayers/Format/WKT.js')]
>
>
>
> !DSPAM:4033,46ef8180139661439371379!
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
>
> !DSPAM:4033,46ef8180139661439371379!
>
>




More information about the Users mailing list