Changeset 14322
- Timestamp:
- 2007-08-06T15:21:45+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java
r14229 r14322 856 856 loadCollectionInternal(collection_file_path); 857 857 load_collection_progress_popup.close(); 858 858 Gatherer.setMenuBarEnabled(true); 859 859 } 860 860 } … … 1045 1045 } 1046 1046 command_parts_list.add(LocalGreenstone.getBinScriptDirectoryPath() + "mkcol.pl"); 1047 1048 1047 command_parts_list.add((Gatherer.GS3) ? Utility.GS3MODE_ARGUMENT : "");// add '-gs3mode' 1049 1048 1050 1049 command_parts_list.add("-collectdir"); 1051 1050 command_parts_list.add(getCollectDirectory()); 1052 1053 1051 1054 1052 command_parts_list.add("-win31compat"); 1055 1053 command_parts_list.add((Gatherer.isGsdlRemote) ? "false" : "true"); … … 1064 1062 // Run the mkcol.pl command 1065 1063 String[] command_parts = (String[]) command_parts_list.toArray(new String[0]); 1066 1064 1067 1065 GShell process = new GShell(command_parts, GShell.NEW, COLLECT, this, null, GShell.GSHELL_NEW); 1068 1066 process.run(); // Don't bother threading this... yet … … 1327 1325 } 1328 1326 // deactivate it in tomcat so that windows will release the index files 1329 if (Gatherer.GS3 ) {1327 if (Gatherer.GS3 && !Gatherer.isGsdlRemote) { 1330 1328 Gatherer.configGS3Server(Configuration.site_name, ServletConfiguration.DEACTIVATE_COMMAND + collection.getName()); 1331 1329 }
Note:
See TracChangeset
for help on using the changeset viewer.