3 import java.io.IOException;
7 * Description: This class provides some satic help methods
8 * Copyright: Copyright (c) 2001
9 * Company: indymedia.de
17 * rsync the webrepository
19 * returns the exit-code
20 * returns 255 if rsync should not be used
22 public static int rsync(){
23 if(!MirConfig.getProp("Rsync").toLowerCase().equals("yes")){
30 Runtime run = Runtime.getRuntime();
31 p = run.exec(MirConfig.getProp("Rsync.Script.Path"));
32 returnValue = p.waitFor();
33 } catch (IOException e) {
35 } catch (InterruptedException e) {