Changeset 26683 for gs3-extensions

Show
Ignore:
Timestamp:
11.01.2013 15:25:48 (6 years ago)
Author:
davidb
Message:

Introduced COMPILE.sh to tidy up on how the i-jetty source code is compiled and the final apk file moved to the top-level directory. Changes made to README.txt to reflect this

Location:
gs3-extensions/i-greenstone-server/trunk/src
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-greenstone-server/trunk/src/README.txt

    r26612 r26683  
    1919   
    2020  ./REBRAND.sh 
     21   
     22  ./COMPILE.sh 
     23   
     24This should compile i-greenstone-server and create an APK file in the top-level folder. 
     25Then, assuming you have an Android phone connected through USB, you would run the command: 
    2126 
     27  adb install i-jetty-3.1-aligned.apk 
    2228 
     29Notes:  
    2330 
    24 Notes: 
     31  When multiple devices are connected use 'adb devices' to view their serial IDs 
     32  and 'adb -s ID install ...' to select the device to install on. 
     33  ==== 
     34   
     35  This extension comes with a "pre-bundled" Greenstone3 web-apps (war file) located at: 
     36    <GSDL3SRCHOME>/ext/i-greenstone-server/CUSTOMIZATION/assets/ 
     37  suitable configured for Android -- but it may not be the latest and greatest version  
     38  of Greenstone3.  If you want to create your own (i.e. suppose you want to pre-bundle  
     39  your own collections, etc.) then you should SVN checkout the "android-war" extension  
     40  (one-level up from where this README file is) and follow the README.txt in the  
     41  newly checked out extension. 
     42  ==== 
    2543 
    26   RESET.sh when run the first time will untar the i-jetty-src tarball  
     44  ./RESET.sh when run the first time will untar the i-jetty-src tarball  
    2745  Subsequently running this will first delete the i-jetty-src folder, 
    2846  followed by untarring the provided tarball. 
    29  
     47  ==== 
     48   
    3049  If you are behind a proxy, change the conf/settings.xml in maven folder: 
    3150   
     
    4867   
    4968  For CMS: 
    50   proxy.cms.waikato.ac.nz 
    51   port 3128 
     69    proxy.cms.waikato.ac.nz 
     70    port 3128 
     71  ==== 
    5272 
    5373 
    5474 
    55  
    56  
  • gs3-extensions/i-greenstone-server/trunk/src/REBRAND.sh

    r26612 r26683  
    6767echo  
    6868echo "***" 
    69 echo "* Now" 
    70 echo "*   cd i-jetty-3.1/i-jetty-ui" 
    71 echo "*   mvn clean install" 
    72 echo "* And run ./deploy.sh [id] to install and run on an Android device" 
    73 echo "*  'adb devices' will list all devices attached" 
     69echo "* Now compile the i-jetty source code with:" 
     70echo "*   ./COMPILE.sh" 
    7471echo "***" 
    7572echo