search for: azerup

Displaying 2 results from an estimated 2 matches for "azerup".

2004 Nov 19
0
[AustinJUG] Problem calling rsync from java on OSX
yeah, i tried that already. specifcially, mine was: /* String cmd[] = new String[5]; cmd[0] = "/usr/local/bin/rsync"; cmd[1] = "--daemon"; cmd[2] = "--config=/Users/dlippolt/.azerup/rsyncd.conf"; cmd[3] = "--address=127.0.0.1"; cmd[4] = "--port=2873"; */ as an aside, i dont have my head fully wrapped around the real differences between the various Process constructors, unless for some reason the space character isn't an appropriate. toke...
2004 Nov 19
1
Problem calling rsync from java on OSX
...es correctly from within java on linux using a similar jdk (sun 1.4.1 vs sun 1.4.2 for osx) here is example code: /*****************************/ import java.net.*; import java.io.*; public class TestClass { public static void main(String[] args) { String cmd = "/Users/dlippolt/.azerup/rsync --daemon --config=/Users/dlippolt/.azerup/rsyncd.conf --port=2874"; System.out.println(cmd); try { Process proc = Runtime.getRuntime().exec(cmd); System.out.println("DEBUG: Rsync Processvalue: " + proc.waitFor()); } catch (Throwable t) {...