Changes between Version 5 and Version 6 of HowToCompile
- Timestamp:
- 11/26/09 02:04:55 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToCompile
v5 v6 24 24 25 25 == JS build == 26 Some javascript files are minified and concatenated scripts from JavaScript libraries using [http://projects.opengeo.org/jstools/wiki/jsbuild jsbuild] process. Actually only OpenLayers, GeoExt and extent map editor is using this process. The file full.cfg defines:26 Some javascript files are minified and concatenated scripts from !JavaScript libraries using [http://projects.opengeo.org/jstools/wiki/jsbuild jsbuild] process. Actually only OpenLayers, GeoExt and extent map editor is using this process. The file full.cfg defines: 27 27 * name of the lib to buld 28 28 * directories to look into 29 29 In order to build: 30 30 * remove old lib file. 31 * run ./build.sh under the jsbuild directory. This will create geo-libs.js files used by GeoNetwork 31 * install jsbuid 32 {{{ 33 sudo apt-get install python-setuptools 34 sudo easy_install jstools 35 }}} 36 * jsbuild directory, run jsbuild utility. This will create geo-libs.js files used by GeoNetwork 37 {{{ 38 jsbuild -o ../web/geonetwork/scripts/geo full.cfg 39 }}} 32 40 33 If you don't want to use this small file (for debugging), add the debug parameter to your urlwhich will use the non minified JS files (see xsl/geo/utils.xsl).41 If you don't want to use this small file (for debugging), add the "debug" parameter to your url (eg. main.home?debug) which will use the non minified JS files (see xsl/geo/utils.xsl). 34 42