Changeset 1084

Show
Ignore:
Timestamp:
06/16/09 11:51:04 (1 year ago)
Author:
ahocevar
Message:

added a Makefile for a fancy build process which will also build compressed css files (using csstidy). Updated readme.txt to explain the new process.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core/trunk/geoext/build/readme.txt

    r273 r1084  
    33 
    44This directory contains configuration files necessary for building GeoExt 
    5 (and ExtJS).  The build configuration is intended for use with the jsbuild 
     5(and Ext JS).  The build configuration is intended for use with the jsbuild 
    66utility included in JSTools (http://projects.opengeo.org/jstools). 
    77 
     
    99------------------ 
    1010 
    11 Install JSTools. 
     11This build dir contains a Makefile, which can be used to build GeoExt. The 
     12build process requires a bash-like shell, make, sed, find and svn. All this 
     13should be available on well equipped development *nix and OS X boxes. In 
     14addition, JSTools and csstidy are required. The latter is available as csstidy 
     15package on debian-style linux systems. 
     16 
     17    $ sudo aptitude install csstidy 
     18 
     19To install JSTools, python-setuptools is required. This is available as 
     20python-setuptools package on debian-style linux systems. 
     21 
     22    $ sudo aptitude install python-setuptools 
     23     
     24Now you can easily install JSTools. 
    1225 
    1326    $ easy_install http://svn.opengeo.org/jstools/trunk/ 
    1427 
    15 Change into the core/trunk/build directory. 
     28Change into the core/trunk/build directory (the one containing the readme.txt 
     29file you are reading right now), if you are not already here. 
    1630 
    17     $ cd core/trunk/geoext/build 
     31    $ cd geoext/build 
    1832 
    19 Run jsbuild
     33From here, you can build the library
    2034 
    21     $ jsbuild full.cfg 
     35    $ make zip 
    2236     
    23 For more complete instructions on building GeoExt, see the documentation 
    24 on the project website: http://www.geoext.org/trac/geoext/wiki/builds. 
     37Now you can take the resulting GeoExt.zip file and unpack it on your web 
     38server. The library itself resides in the script folder, the resources folder 
     39contains css files and images. 
     40 
     41For more complete instructions on building GeoExt with jsbuild, see the 
     42documentation on the project website: 
     43http://www.geoext.org/trac/geoext/wiki/builds. 
     44 
     45The Makefile also contains a target for building Ext JS. This requires Ext JS 
     46to be installed in ../../ext (relative to this build dir). Make sure to 
     47provide a license file matching your Ext JS installation and replace the 
     48provided ext-license.js file with it. To build the library with ext.js in the 
     49script folder, run make with the ext and zip targets. 
     50 
     51    $ make ext zip 
     52     
     53The Makefile has even more targets. Invoke make help to see them all. 
     54 
     55    $ make help