Changeset 17612 for gli/trunk/src/org/greenstone/gatherer/Gatherer.java
- Timestamp:
- 2008-10-24T17:45:51+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/Gatherer.java
r17121 r17612 85 85 86 86 static private Dimension size = new Dimension(800, 540); 87 static public RemoteGreenstoneServer remoteGreenstoneServer = null; 87 88 88 89 /** Has the exit flag been set? */ … … 299 300 // Finally, we're ready to find out the version of the remote Greenstone server 300 301 if(isGsdlRemote) { 302 // instantiate the RemoteGreenstoneServer object first 303 remoteGreenstoneServer = new RemoteGreenstoneServer(); 304 301 305 int greenstoneVersion = 2; 302 306 requestGLIServerURL(); 303 307 gliserver_url_string = Configuration.gliserver_url.toString(); 304 308 305 greenstoneVersion = RemoteGreenstoneServer.getGreenstoneVersion();309 greenstoneVersion = remoteGreenstoneServer.getGreenstoneVersion(); 306 310 // Display the version to make error reports a lot more useful 307 311 System.err.println("Remote Greenstone server version: " + greenstoneVersion); … … 316 320 library_url_string = fedora_info.getLibraryURL(); 317 321 } else { 318 library_url_string = RemoteGreenstoneServer.getLibraryURL(Configuration.gliserver_url.toString());322 library_url_string = remoteGreenstoneServer.getLibraryURL(Configuration.gliserver_url.toString()); 319 323 } 320 324 } … … 472 476 // If using a remote Greenstone we need to download the collection configurations now 473 477 if (Gatherer.isGsdlRemote) { 474 if ( RemoteGreenstoneServer.downloadCollectionConfigurations().equals("")) {478 if (remoteGreenstoneServer.downloadCollectionConfigurations().equals("")) { 475 479 // !! Something went wrong downloading the collection configurations 476 480 System.err.println("Error: Could not download collection configurations."); … … 551 555 // If using a remote Greenstone we need to download the collection configurations now 552 556 if (Gatherer.isGsdlRemote) { 553 if ( RemoteGreenstoneServer.downloadCollectionConfigurations().equals("")) {557 if (remoteGreenstoneServer.downloadCollectionConfigurations().equals("")) { 554 558 // !! Something went wrong downloading the collection configurations 555 559 System.err.println("Error: Could not download collection configurations."); … … 616 620 // If we're using a remote Greenstone server we need to make sure that all jobs have completed first 617 621 if (isGsdlRemote) { 618 RemoteGreenstoneServer.exit();622 remoteGreenstoneServer.exit(); 619 623 } 620 624
Note:
See TracChangeset
for help on using the changeset viewer.