Changeset 16358 for gli

Show
Ignore:
Timestamp:
11.07.2008 15:06:10 (12 years ago)
Author:
ak19
Message:

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

Files:
1 modified

Legend:

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

    r16329 r16358  
    311311        }  
    312312         
    313         library_url_string = RemoteGreenstoneServer.getLibraryURL(Configuration.gliserver_url.toString()); 
     313        if(fedora_info.isActive()) {  
     314            // when GS server is remote, FEDORA_HOME resides on the remote server side, 
     315            // but we know the library URL from user-provided information 
     316            library_url_string = fedora_info.getLibraryURL(); 
     317        } else { 
     318            library_url_string = RemoteGreenstoneServer.getLibraryURL(Configuration.gliserver_url.toString()); 
     319        } 
    314320        } 
    315321