- Timestamp:
- 2011-12-15T21:52:46+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r24904 r24905 925 925 public static void collectDirectoryHasChanged( 926 926 String oldCollectPath, String newCollectPath, final Component container) 927 { 927 { 928 928 if(oldCollectPath.equals(newCollectPath)) { 929 929 return; // nothing to be done … … 976 976 String collectDir = Gatherer.getCollectDirectoryPath(); 977 977 //collectDir = "\"" + collectDir.substring(0, collectDir.length()-1) + "\""; // remove file separator at end 978 collectDir = collectDir.substring(0, collectDir.length()-1); // remove file separator at end 979 Utility.updatePropertyConfigFile(getGsdlSiteConfigFile(), "collecthome", "\""+collectDir+"\""); 978 collectDir = collectDir.substring(0, collectDir.length()-1); // remove file separator at end 979 if(collectDir != null) { 980 collectDir = "\""+collectDir+"\""; 981 } 982 Utility.updatePropertyConfigFile(getGsdlSiteConfigFile(), "collecthome", collectDir); 980 983 // if gsdlsite.cfg does not exist (if using server.exe for instance), the above method will just return 981 984
Note:
See TracChangeset
for help on using the changeset viewer.