Changeset 241
- Timestamp:
- 02/13/08 17:53:10 (1 year ago)
- Files:
-
- trunk/MapFish/client/build/build.sh (modified) (2 diffs)
- trunk/MapFish/client/mfbase/mapfish/MapFish.js (modified) (2 diffs)
- trunk/MapFish/client/mfbase/mapfish/SingleFile.js (modified) (2 diffs)
- trunk/MapFishSample/mapfishsample/public/demos/c2corg/search.html (modified) (2 diffs)
- trunk/MapFishSample/mapfishsample/public/demos/routing/epfl.html (modified) (2 diffs)
- trunk/MapFishSample/mapfishsample/public/demos/world_factbk/geostat.html (modified) (2 diffs)
- trunk/MapFishSample/mapfishsample/public/examples/geostat/choropleths.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/geostat/layout.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/geostat/proportionalSymbols.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/map/layout.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/map/layout_spherical_mercator.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/map/toolbar.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/map/window.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/search/c2corg_ext.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/tree/tree_automatic.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/tree/tree_reorder.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/tree/tree_standalone.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/tree/tree_user_model.html (modified) (1 diff)
- trunk/MapFishSample/mapfishsample/public/examples/tree/tree_user_model_complex.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MapFish/client/build/build.sh
r240 r241 19 19 # 20 20 21 set -e 22 21 23 # 22 24 # Variables … … 37 39 # MapFish.js build 38 40 # 41 mapfishpath="${buildpath}/../mfbase/mapfish" 42 if [ -d ${releasepath} ]; then 43 ${rm} -rf ${releasepath} 44 fi 45 46 mapfishreleasepath="${releasepath}/mapfish" 47 ${mkdir} -p ${mapfishreleasepath} 48 (cd ${buildpath} && ${python} build.py -c mapfish-widgets.cfg -o ${mapfishreleasepath}/MapFish.js) 49 50 # MapFish resources 51 ${cp} -r "${mapfishpath}/img" ${mapfishreleasepath} 52 53 # OpenLayers resources 39 54 openlayerspath="${buildpath}/../mfbase/openlayers" 55 openlayersreleasepath="${releasepath}/openlayers" 40 56 41 ${mkdir} -p ${releasepath} 42 (cd ${buildpath} && ${python} build.py -c mapfish-widgets.cfg -o ${releasepath}/MapFish.js) 43 ${rm} -rf "${releasepath}/img" && ${cp} -r "${openlayerspath}/img" ${releasepath} 44 ${rm} -rf "${releasepath}/theme" && ${cp} -r "${openlayerspath}/theme" ${releasepath} 57 mkdir ${openlayersreleasepath} 58 ${cp} -r "${openlayerspath}/img" ${openlayersreleasepath} 59 ${cp} -r "${openlayerspath}/theme" ${openlayersreleasepath} 45 60 46 61 # trunk/MapFish/client/mfbase/mapfish/MapFish.js
r238 r241 45 45 * {String} Relative path of this script. 46 46 */ 47 _scriptName: (!singleFile) ? "mapfish/MapFish.js" :"MapFish.js",47 _scriptName: "MapFish.js", 48 48 49 49 /** … … 114 114 115 115 var allScriptTags = ""; 116 var host = mapfish._getScriptLocation() + "mapfish/";116 var host = mapfish._getScriptLocation(); 117 117 118 118 for (var i = 0; i < jsfiles.length; i++) { trunk/MapFish/client/mfbase/mapfish/SingleFile.js
r164 r241 20 20 /* 21 21 * This file is to be included in the [first] section of MapFish build 22 * config file .22 * config file, but after OpenLayers initialization files. 23 23 */ 24 24 … … 46 46 if (foolOpenLayers) { 47 47 // poor OpenLayers! 48 window.OpenLayers._scriptName = "MapFish.js"; 48 window.OpenLayers._getScriptLocation = function() { 49 return mapfish._getScriptLocation() + "../openlayers/"; 50 } 49 51 } 50 52 })(); trunk/MapFishSample/mapfishsample/public/demos/c2corg/search.html
r149 r241 11 11 parseOnLoad: true}; 12 12 // TODO: remove once migrated 13 var gMfLocation = "../../mfbase/ ";13 var gMfLocation = "../../mfbase/mapfish/"; 14 14 </script> 15 15 … … 22 22 <script type="text/javascript" src="../../mfbase/ext/ext-all.js"></script> 23 23 <!-- TODO: use this one once migrated 24 <script type="text/javascript" src="../../mfbase/release/ MapFish.js"></script>24 <script type="text/javascript" src="../../mfbase/release/mapfish/MapFish.js"></script> 25 25 --> 26 26 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/demos/routing/epfl.html
r149 r241 15 15 parseOnLoad: true}; 16 16 // TODO: remove once migrated 17 var gMfLocation = "../../mfbase/ ";17 var gMfLocation = "../../mfbase/mapfish/"; 18 18 </script> 19 19 … … 26 26 <script type="text/javascript" src="../../mfbase/ext/ext-all.js"></script> 27 27 <!-- TODO: use this one once migrated 28 <script type="text/javascript" src="../../mfbase/release/ MapFish.js"></script>28 <script type="text/javascript" src="../../mfbase/release/mapfish/MapFish.js"></script> 29 29 --> 30 30 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/demos/world_factbk/geostat.html
r149 r241 11 11 parseOnLoad: true}; 12 12 // TODO: remove once migrated 13 var gMfLocation = "../../mfbase/ ";13 var gMfLocation = "../../mfbase/mapfish/"; 14 14 </script> 15 15 … … 22 22 <script type="text/javascript" src="../../mfbase/ext/ext-all.js"></script> 23 23 <!-- TODO: use this one once migrated 24 <script type="text/javascript" src="../../mfbase/release/ MapFish.js"></script>24 <script type="text/javascript" src="../../mfbase/release/mapfish/MapFish.js"></script> 25 25 --> 26 26 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/geostat/choropleths.html
r192 r241 14 14 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 15 15 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 16 var gMfLocation = "../../mfbase/ ";16 var gMfLocation = "../../mfbase/mapfish/"; 17 17 </script> 18 18 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/geostat/layout.html
r192 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/geostat/proportionalSymbols.html
r191 r241 14 14 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 15 15 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 16 var gMfLocation = "../../mfbase/ ";16 var gMfLocation = "../../mfbase/mapfish/"; 17 17 </script> 18 18 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/map/layout.html
r184 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/map/layout_spherical_mercator.html
r177 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/map/toolbar.html
r181 r241 15 15 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 16 16 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 17 var gMfLocation = "../../mfbase/ ";17 var gMfLocation = "../../mfbase/mapfish/"; 18 18 </script> 19 19 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/map/window.html
r234 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/search/c2corg_ext.html
r229 r241 15 15 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 16 16 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 17 var gMfLocation = "../../mfbase/ ";17 var gMfLocation = "../../mfbase/mapfish/"; 18 18 </script> 19 19 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/tree/tree_automatic.html
r171 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/tree/tree_reorder.html
r218 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/tree/tree_standalone.html
r171 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/tree/tree_user_model.html
r171 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script> trunk/MapFishSample/mapfishsample/public/examples/tree/tree_user_model_complex.html
r227 r241 13 13 // Because of a bug in Firefox 2 we need to specify the MapFish base path. 14 14 // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 15 var gMfLocation = "../../mfbase/ ";15 var gMfLocation = "../../mfbase/mapfish/"; 16 16 </script> 17 17 <script type="text/javascript" src="../../mfbase/mapfish/MapFish.js"></script>