- Timestamp:
- 2010-08-24T19:49:00+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r22691 r22771 708 708 } 709 709 710 /** Returns the path of the Greenstone "collect"directory. */710 /** Returns the path of the current collect directory. */ 711 711 static public String getCollectDirectoryPath() 712 712 { … … 714 714 return non_standard_collect_directory_path; 715 715 } 716 717 if (!GS3) { 718 return Configuration.gsdl_path + "collect" + File.separator; 719 } 720 else { 721 return getSitesDirectoryPath() + Configuration.site_name + File.separator + "collect" + File.separator; 722 } 723 } 724 716 717 return getDefaultGSCollectDirectoryPath(); 718 719 } 720 721 /** Returns the path of the Greenstone "collect" directory. */ 722 static public String getDefaultGSCollectDirectoryPath() { 723 if (!GS3) { 724 return Configuration.gsdl_path + "collect" + File.separator; 725 } 726 else { 727 return getSitesDirectoryPath() + Configuration.site_name + File.separator + "collect" + File.separator; 728 } 729 } 725 730 726 731 /** Returns the path of the GLI directory. */ … … 833 838 // non-destructive update of gsdl(3)site.cfg (comments preserved) 834 839 String collectDir = Gatherer.getCollectDirectoryPath(); 840 //collectDir = "\"" + collectDir.substring(0, collectDir.length()-1) + "\""; // remove file separator at end 835 841 collectDir = collectDir.substring(0, collectDir.length()-1); // remove file separator at end 836 842 Utility.updatePropertyConfigFile(gsdlsitecfg, "collecthome", collectDir);
Note:
See TracChangeset
for help on using the changeset viewer.