- Timestamp:
- 2020-06-12T23:47:19+12:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r33015 r34158 234 234 command_parts_list.add("-collectdir"); 235 235 command_parts_list.add(getCollectDirectory()); // <../collect/> 236 } else { // actually this should work in local Greenstone case too: 237 command_parts_list.add("-library_name"); 238 String library_servlet_name = Configuration.servlet_path; 239 if(library_servlet_name.startsWith("/")) { 240 library_servlet_name = library_servlet_name.substring(1); 241 } 242 command_parts_list.add(library_servlet_name); 236 243 } 237 244 … … 291 298 import_list.add(getCollectDirectory()); 292 299 } 300 // import.pl does not at present need to know the library/servlet_path 301 // whether in a remote or local GS server situation 293 302 294 303 String[] import_options = collection.import_options.getValues(); … … 338 347 build_list.add("-collectdir"); 339 348 build_list.add(getCollectDirectory()); 349 } else { // actually this should work in local Greenstone case too: 350 build_list.add("-library_name"); 351 String library_servlet_name = Configuration.servlet_path; 352 if(library_servlet_name.startsWith("/")) { 353 library_servlet_name = library_servlet_name.substring(1); 354 } 355 build_list.add(library_servlet_name); 340 356 } 341 357
Note:
See TracChangeset
for help on using the changeset viewer.