Changes between Version 5 and Version 6 of HowToCompile


Ignore:
Timestamp:
Nov 26, 2009, 2:04:55 AM (14 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToCompile

    v5 v6  
    2424
    2525== 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:
     26Some 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:
    2727 * name of the lib to buld
    2828 * directories to look into
    2929In order to build:
    3030 * 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{{{
     33sudo apt-get install python-setuptools
     34sudo easy_install jstools
     35}}}
     36 * jsbuild directory, run jsbuild utility. This will create geo-libs.js files used by GeoNetwork
     37{{{
     38jsbuild -o ../web/geonetwork/scripts/geo full.cfg
     39}}}
    3240 
    33 If you don't want to use this small file (for debugging), add the debug parameter to your url which will use the non minified JS files (see xsl/geo/utils.xsl).
     41If 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).
    3442