[Commits] r1170 - in apps/opengeo/geoexplorer/trunk: . build
commits at geoext.org
commits at geoext.org
Tue Jun 30 01:27:25 CEST 2009
Author: tschaub
Date: 2009-06-30 01:27:25 +0200 (Tue, 30 Jun 2009)
New Revision: 1170
Removed:
apps/opengeo/geoexplorer/trunk/README.TXT
apps/opengeo/geoexplorer/trunk/build/build.bash
apps/opengeo/geoexplorer/trunk/script/
Log:
Running the app from the source now requires running ant first. Built scripts no longer kept in the repo.
Deleted: apps/opengeo/geoexplorer/trunk/README.TXT
===================================================================
--- apps/opengeo/geoexplorer/trunk/README.TXT 2009-06-29 23:21:55 UTC (rev 1169)
+++ apps/opengeo/geoexplorer/trunk/README.TXT 2009-06-29 23:27:25 UTC (rev 1170)
@@ -1,71 +0,0 @@
-=================================
-Running and deploying GeoExplorer
-=================================
-
-Downloading and unpacking Ext JS
---------------------------------
-GeoExplorer requires version 2.2.x of the Ext JS library.
-
-1. Download Ext JS SDK 2.2.1 from
- http://www.extjs.com/products/extjs/download.php
-2. Read the Ext JS license page (http://www.extjs.com/products/license.php)
- and choose the appropriate license for your needs
-3. Create a folder externals/ext in your geoexplorer root directory
-4. Unpack the downloaded file (ext-2.2.1.zip) to the folder created in step 3
-
-Connecting GeoExplorer to a GeoServer instance
-----------------------------------------------
-The easiest way to run GeoExplorer is to place it in the www folder of a
-GeoServer data dir.
-
-1. Copy the geoexplorer root directory (with Ext JS unpacked as described
- above) to $GEOSERVER_DATA_DIR/www/
-2. If the path of your GeoServer instance is different than /geoserver, modify
- the ows setting in debug.html and index.html in your geoexplorer root
- directory to point to your GeoServer web path
-
-Test GeoExplorer by running the debug version
----------------------------------------------
-If installed as described above, you should be able to run GeoExplorer by
-pointing your web browser to
-http://localhost:8080/geoserver/www/geoexplorer/debug.html (assuming your
-browser is running on the same machine as your GeoServer instance).
-
-Running GeoExplorer this way is slow because many small JavaScript files will
-be loaded dynamically. Therefore it is recommended to build GeoExplorer as
-described below.
-
-Build GeoExplorer with minified JS files for better performance
----------------------------------------------------------------
-1. Download and install JSTools following the instructions in README.rst
- on http://github.com/whitmo/jstools/
-2. Open a console in your geoexplorer/build folder and run
- ``jsbuild build.cfg -o ../script/``
-2. Now you should have four minified JS files in your geoexplorer/script
- folder. To try your built version of GeoExplorer, point your browser to
- http://localhost:8080/geoserver/www/geoexplorer/index.html and enjoy the
- performance boost.
-
-Removing unneeded directories and files (optional)
---------------------------------------------------
-If you want a lean installation, you can remove everything except the files
-and folders in the folder tree below:
-
-::
-
- geoexplorer
- externals
- ext
- adapter
- ext
- resources
- geoext
- resources
- openlayers
- img
- theme
- script
- theme
- about.html
- index.html
-
\ No newline at end of file
Deleted: apps/opengeo/geoexplorer/trunk/build/build.bash
===================================================================
--- apps/opengeo/geoexplorer/trunk/build/build.bash 2009-06-29 23:21:55 UTC (rev 1169)
+++ apps/opengeo/geoexplorer/trunk/build/build.bash 2009-06-29 23:27:25 UTC (rev 1170)
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# build.bash: Generate minified JS for GeoExplorer
-## Accepts no arguments, just run it and wait a bit.
-
-
-# switch to the build/ dir if we're not already there
-BUILD_DIR=`dirname $(which $0)`
-cd $BUILD_DIR
-
-# actual minification
-jsbuild -u -o ../script/ -v -s GeoExplorer.js geoexplorer-all.cfg
-
-# cat'ing of files doesn't appear to be working yet. Let's do
-# it ourselves.
-exit
-cat ../script/OpenLayers.js \
- ../script/GeoExt.js \
- ../script/GeoExplorer.js > ../script/temp.js
-
-rm ../script/OpenLayers.js ../script/GeoExt.js ../script/GeoExplorer.js
-mv ../script/temp.js ../script/GeoExplorer.js
More information about the Commits
mailing list