Changeset 29299 for main/trunk/gli
- Timestamp:
- 2014-09-17T19:05:03+12:00 (10 years ago)
- Location:
- main/trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Configuration.java
r28995 r29299 45 45 import javax.swing.plaf.*; 46 46 import org.greenstone.gatherer.util.StaticStrings; 47 import org.greenstone.gatherer.util.Utility; 47 48 import org.greenstone.gatherer.util.XMLTools; 48 49 import org.w3c.dom.*; … … 698 699 699 700 static public String getGS3BinPath() { 700 return gsdl3_src_path + "bin" + File.separator ;701 return gsdl3_src_path + "bin" + File.separator + Utility.getOSdirName() + File.separator; 701 702 } 702 703 -
main/trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r29017 r29299 340 340 } 341 341 342 /** @return the OSdir foldername: windows, linux or darwin */ 343 public static String getOSdirName() { 344 if(Utility.isWindows()) { 345 return "windows"; 346 } 347 if(Utility.isMac()) { 348 return "darwin"; 349 } 350 return "linux"; // else assume it's a linux machine, OSdirname = linux 351 } 352 342 353 343 354 /** Method to determine if the host system is MacOS based.
Note:
See TracChangeset
for help on using the changeset viewer.