Changeset 19758 for gli/trunk/src/org/greenstone/gatherer/Gatherer.java
- Timestamp:
- 2009-06-08T15:16:34+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/Gatherer.java
r19678 r19758 121 121 static public boolean isApplet = false; 122 122 static public boolean isGsdlRemote = false; 123 static public boolean isLocalLibrary = false; 123 124 124 125 /* TODO: If we're using local GLI, collections are built locally. If we're using client-GLI … … 349 350 } 350 351 else { // local greenstone: Start up the local library server, if that's what we want 351 if (local_library_path != null && !GS3) { 352 LocalLibraryServer.start(gsdl_path, local_library_path); 353 } 352 if (!GS3) { 353 isLocalLibrary = LocalLibraryServer.start(gsdl_path, local_library_path); 354 } 355 // else web library: GS server is local, but doesn't use the webserver included with GS2 354 356 } 355 357 … … 369 371 // It is not necessary if an independent GSI was launched and the user hasn't pressed Enter Library yet 370 372 DebugStream.println("Configuration.library_url = " + Configuration.library_url); 371 if (Configuration.library_url == null && ( LocalLibraryServer.isRunning()&& !LocalLibraryServer.isURLPending())) {373 if (Configuration.library_url == null && (isLocalLibrary && !LocalLibraryServer.isURLPending())) { 372 374 missingEXEC(); 373 375 }
Note:
See TracChangeset
for help on using the changeset viewer.