comparison src/jungle/test/bbs/DistributeApp.java @ 46:fd3643699f83

modified pom.xml. fix conflict log4j libraries
author one
date Fri, 12 Jul 2013 11:27:00 +0900
parents 4419ac56cbfd
children ab8c655ef457
comparison
equal deleted inserted replaced
45:bf3dc481cc9b 46:fd3643699f83
23 */ 23 */
24 public class DistributeApp 24 public class DistributeApp
25 { 25 {
26 public static void main( String[] args ) throws Exception 26 public static void main( String[] args ) throws Exception
27 { 27 {
28
29 RemoteConfig conf = new RemoteConfig(args); 28 RemoteConfig conf = new RemoteConfig(args);
30 new TopologyNode(conf, new StartBBSCodeSegment()); 29 new TopologyNode(conf, new StartBBSCodeSegment());
31 /*
32 if(conf.hostname == null) {
33 new AliceDaemon(conf).listen();
34 PutHostLogCodeSegment cs = new PutHostLogCodeSegment();
35 cs.arg1.setKey("local","log");
36 LogUpdateCodeSegment updateCS = new LogUpdateCodeSegment("local", "anotherLog");
37 updateCS.arg1.setKey("local", "anotherLog");
38 } else {
39 DataSegment.connect(conf.key, "", conf.hostname, conf.connectPort);
40 PutAnotherLogCodeSegment cs = new PutAnotherLogCodeSegment();
41 cs.arg1.setKey("local", "log");
42 LogUpdateCodeSegment updateCS = new LogUpdateCodeSegment("remote", "hostLog");
43 updateCS.arg1.setKey("remote", "hostLog");
44 }
45 */
46 } 30 }
47 } 31 }