Changeset 25663 for gs3-extensions

Show
Ignore:
Timestamp:
23.05.2012 19:27:27 (7 years ago)
Author:
davidb
Message:

Tidy up scripts and config files

Location:
gs3-extensions/i-jetty/trunk/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-jetty/trunk/src/IJETTY-PUSH.sh

    r25623 r25663  
    1717fi 
    1818 
     19# remove any trailing slash, as 'adb' does not appear to like this 
     20within_webapps=${within_webapps%/} 
     21 
    1922echo "Running: adb push \"webapps/$within_webapps\" \"$WITHIN_SDCARD_WEBAPPS/$within_webapps\"" 
     23 
    2024adb push "webapps/$within_webapps" "$WITHIN_SDCARD_WEBAPPS/$within_webapps" 
  • gs3-extensions/i-jetty/trunk/src/JAVA-TO-DEX.sh

    r25630 r25663  
    160160echo "" 
    161161echo "####" 
    162 echo "# Run ./IJETTY-PUSH.sh \"webapps\" to install all the files needed on the Andorid device" 
    163 echo "# Run ./IJETTY-PUSH.sh \"webapps/WEB-INF/lib\" to install the latest DEX files on the device" 
     162echo "# Run ./IJETTY-PUSH.sh \"webapps/greenstone3\" to install all the files needed on the Andorid device" 
     163echo "# Or ./IJETTY-PUSH.sh \"webapps/WEB-INF/lib\" to install the latest DEX files on the device" 
    164164echo "####" 
    165165echo "" 
  • gs3-extensions/i-jetty/trunk/src/PREPARE-WEBAPPS-GREENSTONE-ROOT-FOR-IJETTY.sh

    r25623 r25663  
    4747/bin/cp -u -v -r $GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo $PREPARE_SDCARD_GSDL3HOME/sites/localsite/collect/. 
    4848 
     49echo "Removing .svn folders from copied 'lucene-jdbm-demo' collection" 
     50find $PREPARE_SDCARD_GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo \ 
     51 -type d -name ".svn" -exec /bin/rm -rf {} \; -print 
     52 
    4953if [ ! -d $PREPARE_SDCARD_GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo/index ] ; then 
    5054  pushd $PREPARE_SDCARD_GSDL3HOME/sites/localsite/collect/lucene-jdbm-demo 
     
    5660echo "####" 
    5761echo "# If not already done so, run: " 
    58 echo "#   ./PREPARE-JAVA-TO-DEX.sh" 
    59 echo "# to cross-compile the Greenstone code and supporting JAR files" 
     62echo "#   ./JAVA-TO-DEX.sh" 
     63echo "# to cross-compile the Greenstone code and supporting JAR files"  
    6064echo "####" 
    6165echo "" 
  • gs3-extensions/i-jetty/trunk/src/resources/index.html

    r23969 r25663  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    22<html> 
    3   <head> 
    4     <meta http-equiv="Content-Type" 
    5       content="text/html; charset=iso-8859-1"> 
    6      <title>Greenstone Version 3</title> 
    7      <style type="text/css"> 
    8         li {padding: 0.8em 0;} 
    9         body { 
    10             background: #fff url('interfaces/default/images/chalk.gif') scroll repeat-y left top; 
    11         } 
    12      </style>  
    13   </head>   
    14 <body bgcolor="#ffffff" text="#000000"> 
    15      
    16 <p style="text-align:center;"> 
    17 <img src="interfaces/default/images/gsdlhead.gif"  
    18 width="225" height="66" alt="Greenstone Digital Library Software"> 
    19 </p> 
     3    <head> 
     4        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
     5        <title>Greenstone Version 3</title> 
     6        <style type="text/css"> 
     7            li {padding: 0.8em 0;} 
     8            body { 
     9                background: #fff url('interfaces/default/images/chalk.gif') scroll repeat-y left top; 
     10            } 
     11        </style>  
     12    </head>   
     13    <body style="background: white; color: black;"> 
     14    <div style="width: 1000px; margin: 0 auto;"> 
     15        <h2 style="text-align:center; font-size:110%;font-family:sans-serif;">Welcome to your Greenstone3 installation!</h2> 
     16             
     17        <ul>     
     18            <li><a href="library">Run the main servlet for Greenstone 3.</a> This is an interface that demonstrates the wide variety of capabilities in Greenstone 3.</li> 
     19            <li><a href="testing">Run the 'Hello World' test servlet.</a> Use this link to check that your server can run the simplest of Java servlets.</li> 
     20            <li><a href="gs2-library">Run the Greenstone 2 backwards-compatible library servlet. (Deprecated)</a> View the demo collections that come with Greenstone, using the Greenstone 2 look and feel.</li> 
     21            <li><a href="gs3-library">Run the 'standard' servlet. (Deprecated)</a> View the same collections using the standard Greenstone 3 look and feel. </li> 
     22            <li><a href="gateway">Run the gateway servlet.</a> This uses the standard Greenstone 3 look and feel, and talks via SOAP to the site with the demo collections (localsite). 
     23                <ul> 
     24                    <li>Note that SOAP needs to be installed, and a SOAP server needs to be running for localsite.</li> 
     25                </ul> 
     26            </li> 
     27        </ul> 
     28    </div> 
    2029 
    21 <div style="margin-left: 90px;"> 
     30    <p style="text-align:center; font-size: 75%;"><a href="http://www.greenstone.org/greenstone3-home">powered by greenstone3</a></p> 
    2231 
    23 <h2 style="font-size:110%;font-family:sans-serif;">Welcome to your Greenstone3 installation</h2> 
    24      
    25 <ul>     
    26 <li><a href="testing">Run the test servlet.</a> 
    27 <li><a href="library">Run the default library servlet.</a> View the demo collections that come with Greenstone, using the Greenstone 2 look and feel. 
    28 <li><a href="gs3library">Run the 'standard' servlet.</a> View the same collections using the standard Greenstone 3 look and feel  
    29 <li><a href="dev">Run the development servlet.</a> Try out the new skin system currently in development  
    30 <li><a href="gateway">Run the gateway servlet.</a> This uses the standard Greenstone 3 look and feel, and talks via SOAP to the site with the demo collections (localsite). 
    31 <ul> 
    32 <li>Note that SOAP needs to be installed, and a SOAP server needs to be running for localsite. 
    33 </ul> 
    34 </ul> 
    35  
    36 </div> 
    37  
    38 <p style="text-align:right; font-size: 75%;">powered by <a  
    39 href="http://www.greenstone.org/greenstone3-home">greenstone3</a></p> 
    40  
    41 </body> 
     32    </body> 
    4233</html>