annotate src/main/java/app/bbs/DistributeApp.java @ 192:3202a2a427b1

bug fix
author tatsuki
date Tue, 20 Jan 2015 09:30:59 +0900
parents 5d0734fd859d
children 89c15aa2bc6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
112
8f9811a1e00c Moved app files
one
parents: 106
diff changeset
1 package app.bbs;
38
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
2
105
f9e29a52efd3 Move some files
one
parents: 66
diff changeset
3 import alice.jungle.remote.RemoteConfig;
106
f42f2e6b31de Removed project reference and Added dependency in pom.xml
one
parents: 105
diff changeset
4 import alice.topology.node.TopologyNode;
112
8f9811a1e00c Moved app files
one
parents: 106
diff changeset
5 import app.bbs.codesegment.StartBBSCodeSegment;
39
10359a815068 add alice.jungle.codesegment.remote
one
parents: 38
diff changeset
6
153
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
7 public class DistributeApp {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
8 public static void main(String[] args) throws Exception {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
9 RemoteConfig conf = new RemoteConfig(args);
192
3202a2a427b1 bug fix
tatsuki
parents: 191
diff changeset
10 System.out.println(System.getProperty("java.version"));
153
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
11 if (conf.getManagerHostName() == null) {
158
cd4d64249931 minor fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 153
diff changeset
12 // String localHostName ="localhost";
cd4d64249931 minor fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 153
diff changeset
13 // HostMessage host = new HostMessage(localHostName, conf.localPort);
153
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
14 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort);
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
15 cs1.ods.put("host", "node0");
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
16 } else {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
17 new TopologyNode(conf, new StartBBSCodeSegment(args, conf.bbsPort));
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
18 }
38
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
19 }
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
20 }