Browse Source

single jar for TCPTimeCounterServer incl deps

master
Sebastian Rieger 7 years ago
parent
commit
15caabb0c0
  1. 7
      VerteilteSysteme-Examples/.classpath
  2. BIN
      VerteilteSysteme-Examples/build/RMIEchoServer.jar
  3. BIN
      VerteilteSysteme-Examples/build/RMIMandelbrotCalculationsServer.jar
  4. BIN
      VerteilteSysteme-Examples/build/TCPPerfServer.jar
  5. BIN
      VerteilteSysteme-Examples/build/TCPServer.jar
  6. BIN
      VerteilteSysteme-Examples/build/TCPServerMulti.jar
  7. BIN
      VerteilteSysteme-Examples/build/TCPTimeCounterServer.jar
  8. BIN
      VerteilteSysteme-Examples/build/UDPServer.jar
  9. BIN
      VerteilteSysteme-Examples/build/UDPServerMulti.jar
  10. BIN
      VerteilteSysteme-Examples/build/UDPTimeCounterServer.jar
  11. 9
      VerteilteSysteme-Examples/build/build-server-jars.xml
  12. BIN
      VerteilteSysteme-Examples/lib-aws/jackson-core-2.9.3.jar
  13. 1
      VerteilteSysteme-Examples/src/verteiltesysteme/aws/TCPTimeCounterClient.java

7
VerteilteSysteme-Examples/.classpath

@ -21,5 +21,12 @@
<classpathentry kind="lib" path="lib-aws/aws-java-sdk-core-1.11.257.jar"/>
<classpathentry kind="lib" path="lib-aws/jedis-2.9.0.jar"/>
<classpathentry kind="lib" path="lib-aws/aws-java-sdk-s3-1.11.257.jar"/>
<classpathentry kind="lib" path="lib-aws/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="lib-aws/httpclient-4.5.4.jar"/>
<classpathentry kind="lib" path="lib-aws/httpcore-4.4.9.jar"/>
<classpathentry kind="lib" path="lib-aws/jackson-annotations-2.9.3.jar"/>
<classpathentry kind="lib" path="lib-aws/jackson-core-2.9.3.jar"/>
<classpathentry kind="lib" path="lib-aws/jackson-databind-2.9.3.jar"/>
<classpathentry kind="lib" path="lib-aws/joda-time-2.9.9.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

BIN
VerteilteSysteme-Examples/build/RMIEchoServer.jar

BIN
VerteilteSysteme-Examples/build/RMIMandelbrotCalculationsServer.jar

BIN
VerteilteSysteme-Examples/build/TCPPerfServer.jar

BIN
VerteilteSysteme-Examples/build/TCPServer.jar

BIN
VerteilteSysteme-Examples/build/TCPServerMulti.jar

BIN
VerteilteSysteme-Examples/build/TCPTimeCounterServer.jar

BIN
VerteilteSysteme-Examples/build/UDPServer.jar

BIN
VerteilteSysteme-Examples/build/UDPServerMulti.jar

BIN
VerteilteSysteme-Examples/build/UDPTimeCounterServer.jar

9
VerteilteSysteme-Examples/build/build-server-jars.xml

@ -91,6 +91,7 @@
</target>
<target name="create_run_jar_tcptimecounterserver">
<!--
<path id="build.classpath">
<fileset dir="${dir.buildfile}/lib-aws">
<include name="*.jar" />
@ -101,17 +102,21 @@
<path refid="build.classpath" />
<flattenmapper />
</pathconvert>
-->
<jar destfile="${dir.jarfile}/TCPTimeCounterServer.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="verteiltesysteme.aws.TCPTimeCounterServer" />
<!--
<attribute name="Class-Path" value="${mf.classpath}" />
-->
</manifest>
<fileset dir="${dir.buildfile}/bin" />
<!--
<fileset dir="${dir.buildfile}/lib-aws">
<include name="*.jar" />
</fileset>
<!--<zipgroupfileset dir="${dir.buildfile}/lib-aws" includes="*.jar" />-->
-->
<zipgroupfileset dir="${dir.buildfile}/lib-aws" includes="*.jar" />
</jar>
</target>

BIN
VerteilteSysteme-Examples/lib-aws/jackson-core-2.9.3.jar

1
VerteilteSysteme-Examples/src/verteiltesysteme/aws/TCPTimeCounterClient.java

@ -29,6 +29,7 @@ class TCPTimeCounterClient {
public static void main(String args[]) throws Exception {
String hostname = "35.156.87.228";
//String hostname = "";
int tcpPort = 36038;
//BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
long timestampStart, timestampSent, timestampEnd, delay;

Loading…
Cancel
Save