Changeset 26642


Ignore:
Timestamp:
2013-01-10T11:59:33+13:00 (9 years ago)
Author:
davidb
Message:

Additional code to install the pre-bundled Greenstone3 war file now included in the apk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/i-greenstone-server/trunk/src/CUSTOMIZATION/src/org/mortbay/ijetty/IJetty.java

    r26474 r26642  
    190190                boolean made = webappsDir.mkdirs();
    191191                Log.i(TAG,"Made " + webappsDir + ": " + made);
     192               
     193                try
     194                {
     195                    InputStream is = getAssets().open("webapps_greenstone.jar");
     196                    Installer.install(is, "/greenstone3", webappsDir, "greenstone3", false);
     197                    Log.i("Jetty", "Loaded console webapp");
     198                }
     199                catch(Exception ex)
     200                {
     201                    ex.printStackTrace();
     202                }
    192203            }
    193204            else
Note: See TracChangeset for help on using the changeset viewer.