Changeset 8618


Ignore:
Timestamp:
2004-11-22T16:00:04+13:00 (19 years ago)
Author:
mdewsnip
Message:

Changed the "-library" option to "-local_library" in preparation for the new LocalLibraryServer class.

Location:
trunk/gli
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/gli.bat

    r8009 r8618  
    275275
    276276:localLib
    277     "%JAVAPATH%\java" -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -library %GSDLHOME%\server.exe -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
     277    "%JAVAPATH%\java" -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -local_library %GSDLHOME%\server.exe -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
    278278
    279279    if "%GLILANG%" == "en" echo Done!
  • trunk/gli/src/org/greenstone/gatherer/GetOpt.java

    r8236 r8618  
    4444    public String gsdl_path = null;
    4545    public String gsdl3_path = null;
     46    public String local_library_path = null;
    4647    public String perl_path = null;
    4748    public String site_name = null; // for GS3
     
    183184            no_load = false;
    184185            }
    185             // Parse the url to a running web server, or a file
    186             // path to the local library server.
    187             else if(argument_name.equals(StaticStrings.LIBRARY_ARGUMENT)) {
     186            // Parse the file path of the local library server
     187            else if (argument_name.equals(StaticStrings.LOCAL_LIBRARY_ARGUMENT)) {
    188188            exec_path = argument_value;
    189189            // If there is no colon in first five characters of
  • trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r8015 r8618  
    155155    static final public String LEVELS_ELEMENT                             = "Levels";
    156156    static final public String LEVELS_STR                                 = "levels";
    157     static final public String LIBRARY_ARGUMENT                           = "-library";
     157    static final public String LOCAL_LIBRARY_ARGUMENT                     = "-local_library";
    158158    static final public String LIBRARY_STR                                = "library";
    159159    static final public String LOAD_ARGUMENT                              = "-load";
Note: See TracChangeset for help on using the changeset viewer.