Ignore:
Timestamp:
2005-08-01T12:10:30+12:00 (19 years ago)
Author:
mdewsnip
Message:

Added a new "-gliserver_url" command-line option for running a local GLI and using a remote Greenstone for building.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/GathererApplet.java

    r10363 r10367  
    118118    // Set some global variables so we know how we're running
    119119    Gatherer.isApplet = true;
    120     Gatherer.isGsdlRemote = true;
    121     String library_cgi = fullLibraryURL(getParameter("gwcgi"));
    122     Gatherer.cgiBase = library_cgi.substring(0, library_cgi.lastIndexOf('/') + 1);
     120    String library_url_string = fullLibraryURL(getParameter("gwcgi"));
     121    String gliserver_url_string = library_url_string.substring(0, library_url_string.lastIndexOf('/') + 1) + "gliserver";
    123122
    124123        // String debug_param = getParameter("debug");
     
    127126        // }
    128127
    129     String[] args = { "-gsdl", gli_user_directory.toString(),
    130               "-library_url", library_cgi,
     128    String[] args = { "-gliserver_url", gliserver_url_string,
     129              "-library_url", library_url_string,
    131130                    };
    132131
Note: See TracChangeset for help on using the changeset viewer.