- Timestamp:
- 2009-04-21T18:55:32+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java
r17630 r19173 62 62 // static private PasswordAuthentication remote_greenstone_server_authentication = new PasswordAuthentication(System.getProperty("user.name"), new char[] { }); 63 63 64 // the language and region environment variables (in "lang_REGION" form) 65 // this is necessary in order for the client and server sides to zip and unzip 66 // using the same settings 67 public final String lang_region; 68 64 69 private ActionQueue remote_greenstone_server_action_queue; 65 70 private RemoteGreenstoneServer.ProgressBar progress_bar; … … 70 75 progress_bar = new RemoteGreenstoneServer.ProgressBar(); 71 76 remote_greenstone_server_action_queue = new ActionQueue(); 77 78 String langReg = System.getenv("LANG"); 79 lang_region = (langReg == null) ? "" : langReg; 72 80 } 73 81 … … 481 489 String gliserver_url_string = Configuration.gliserver_url.toString(); 482 490 String command_output = sendCommandToServerInternal(gliserver_url_string, gliserver_args, shell); 483 491 492 // Debugging - print any ok messages to stderr 493 //if(!(command_output.trim().startsWith("<"))) { 494 //System.err.println("**** RECEIVED (sendCommandToServer()): " + command_output); 495 //} 496 484 497 // Check the first line to see if authentication has failed; if so, go around the loop again 485 498 if (command_output.startsWith("ERROR: Authentication failed:")) {
Note:
See TracChangeset
for help on using the changeset viewer.