changeset 358:e13af3fd64cf

fix build.gradle
author suruga
date Mon, 25 Dec 2017 19:53:26 +0900
parents f9346cd6ef92
children f85a437e495b
files build.gradle scripts/LogupdateTest.sh src/test/java/jp/ac/u_ryukyu/ie/cr/jungle/bbs/BBSTest.java
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Thu Oct 12 16:14:52 2017 +0900
+++ b/build.gradle	Mon Dec 25 19:53:26 2017 +0900
@@ -51,13 +51,14 @@
     baseName = "logupdateTest"
     manifest {
         attributes 'Main-Class': 'jp.ac.u_ryukyu.ie.cr.jungleNetwork.logupdate.LogupdateTest',
-                'Implementation-Title': 'LogupdateTet',
+                'Implementation-Title': 'LogupdateTest',
                 'Implementation-Description': 'Quickstart',
                 'Implementation-Version': version,
                 'Assembly-Date': new java.util.Date().toString()
 
     }
-    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + sourceSets.test.output
+    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } 
+    from sourceSets.test.output
 
     with jar
 }
--- a/scripts/LogupdateTest.sh	Thu Oct 12 16:14:52 2017 +0900
+++ b/scripts/LogupdateTest.sh	Mon Dec 25 19:53:26 2017 +0900
@@ -1,4 +1,4 @@
-java -cp build/libs/Alice.jar alice.topology.manager.TopologyManager -host localhost -p 10000 -port 10001 --noKeepAlive &
+java -cp build/libs/LogupdateTest-1.1.jar alice.topology.manager.TopologyManager -host localhost -p 10000 -port 10001 --noKeepAlive &
 sleep 3 
 java -jar build/libs/logupdateTest-1.1.jar -host localhost -p 10003 -port 10000  --noKeepAlive &
 java -jar build/libs/logupdateTest-1.1.jar -host localhost -p 10001 -port 10000  --noKeepAlive &
--- a/src/test/java/jp/ac/u_ryukyu/ie/cr/jungle/bbs/BBSTest.java	Thu Oct 12 16:14:52 2017 +0900
+++ b/src/test/java/jp/ac/u_ryukyu/ie/cr/jungle/bbs/BBSTest.java	Mon Dec 25 19:53:26 2017 +0900
@@ -144,7 +144,6 @@
     }
 
     public void checkTime() throws IOException {
-        System.out.println("hostname: " + host);
         JungleTree tree = jungle.getTreeByName(_board);
         TreeNode node = tree.getRootNode();
         for (TreeNode child : node.getChildren()){
@@ -152,7 +151,7 @@
             for (Iterator<String> it = attr.getKeys(); it.hasNext();){
                 String key = it.next();
                 if (key.equals("timestamp")) {
-                    System.out.print( key + " = ");
+                    System.out.print("hostname: " + host + "  time " + " = ");
                     ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES);
                     buffer.put(attr.get(key).array(), 0, attr.get(key).array().length);
                     buffer.flip();//need flip