Ignore:
Timestamp:
2011-04-29T13:22:22+12:00 (13 years ago)
Author:
davidb
Message:

Mod/improvement to scripts based on fresh round of installing Greenstone on an Android phone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-jetty/trunk/src/WEBAPP-ROOT-TO-SDCARD.sh

    r23931 r23970  
    55  echo "  => No valid directory to install to on Android device"
    66  echo "  => Did you run setup.bash before the Android device was in disk mode?"
    7   echo "  => Alternatively, set the environment variable explicitly"
     7  echo "  => Have you launched i-jetty at least once to create the 'jetty' directory on the sd-card?"
     8  echo "  => If all else fails, you can set the environment variable SDCARD_WEBAPPS explicitly"
    89  exit -1
    910fi
     
    1819  mode="Updating"
    1920fi
     21  echo "  => Have you launched i-jetty to create the 'jetty' directory on the sd-card?
    2022
    2123echo "#---"
     
    4143  | xargs -I {} /bin/cp -u -v $GSDL3HOME/{} $SDCARD_GSDL3HOME/{}
    4244
     45/bin/cp resources/index.html $SDCARD_GSDL3HOME/.
     46/bin/cp resources/web.xml $SDCARD_GSDL3HOME/WEB-INF/.
    4347
    4448if [ ! -d $SDCARD_GSDL3HOME/sites/localsite ] ; then
     
    5458/bin/cp -u -v -r $GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo $SDCARD_GSDL3HOME/sites/localsite/collect/.
    5559
     60if [ ! -d $SDCARD_GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo/index ] ; then
     61  pushd $SDCARD_GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo
     62  unzip index.zip
     63  popd
     64fi
     65
     66echo ""
     67echo "####"
     68echo "# If not already done so, run: "
     69echo "#   ./JAVA-TO-DEX.sh"
     70echo "# to cross-compile the Greenstone code and supporting JAR files"
     71echo "####"
     72echo ""
    5673
    5774
    5875
    59 
Note: See TracChangeset for help on using the changeset viewer.