- Timestamp:
- 2011-08-10T18:54:49+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r24358 r24388 373 373 } 374 374 else { 375 GS3ServerThread thread = new GS3ServerThread(gsdl _path, "start");375 GS3ServerThread thread = new GS3ServerThread(gsdl3_src_path, "restart"); 376 376 thread.start(); 377 377 } … … 715 715 String shellCommand = null; 716 716 Process p = null; 717 if (Utility.isWindows()) { 718 p = Runtime.getRuntime().exec("cmd /C \"cd " + Configuration.gsdl_path + File.separator + ".. && ant stop\"\""); 717 if (Utility.isWindows()) { 718 // cmd /C "cd "C:\path\to\greenstone3" && ant stop" 719 p = Runtime.getRuntime().exec("cmd /C \"cd \"" + Configuration.gsdl3_src_path + File.separator + "\" && ant stop\""); 719 720 } else { 720 p = Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "ant stop -f \"" + Configuration.gsdl _path + ".."+ File.separator + "build.xml\""});721 p = Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "ant stop -f \"" + Configuration.gsdl3_src_path + File.separator + "build.xml\""}); 721 722 } 722 723 } catch(Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.