Changeset 16360 for gli


Ignore:
Timestamp:
2008-07-11T15:12:57+12:00 (13 years ago)
Author:
ak19
Message:

Changes for when client FLI runs against a remote GS server and remote Fedora

File:
1 edited

Legend:

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

    r14974 r16360  
    5656
    5757    protected FedoraInfo fedora_info = null;
    58 
     58   
    5959    public GetOpt(String[] args)
    6060    {
     
    154154            new_set = true;
    155155            }
     156            else if(argument_name.equals(StaticStrings.FEDORA_MODE)) {
     157            // Running FLI remotely
     158            fedora_info.setActive(true);
     159            }
    156160        }
    157161        // 3b. Now for those that do
     
    248252            }
    249253
    250             // Fedora home
     254            // Fedora home - when running Fedora locally
    251255            if(argument_name.equals(StaticStrings.FEDORA_HOME)) {
     256            fedora_info.setActive(true);
     257
    252258            if(argument_value.endsWith(File.separator)) {
    253259                fedora_info.setHome(argument_value);
Note: See TracChangeset for help on using the changeset viewer.