Browse Source

updated build file

master
Sebastian Rieger 7 years ago
parent
commit
15ec15ead8
  1. 21
      VerteilteSysteme-Examples/build/build-server-jars.xml

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

@ -49,7 +49,7 @@
<fileset dir="${dir.buildfile}/bin" /> <fileset dir="${dir.buildfile}/bin" />
</jar> </jar>
</target> </target>
<target name="create_run_jar_udptimecounterserver"> <target name="create_run_jar_udptimecounterserver">
<jar destfile="${dir.jarfile}/UDPTimeCounterServer.jar" filesetmanifest="mergewithoutmain"> <jar destfile="${dir.jarfile}/UDPTimeCounterServer.jar" filesetmanifest="mergewithoutmain">
<manifest> <manifest>
@ -91,13 +91,28 @@
</target> </target>
<target name="create_run_jar_tcptimecounterserver"> <target name="create_run_jar_tcptimecounterserver">
<path id="build.classpath">
<fileset dir="${dir.buildfile}/lib-aws">
<include name="*.jar" />
</fileset>
</path>
<pathconvert property="mf.classpath" pathsep=" ">
<path refid="build.classpath" />
<flattenmapper />
</pathconvert>
<jar destfile="${dir.jarfile}/TCPTimeCounterServer.jar" filesetmanifest="mergewithoutmain"> <jar destfile="${dir.jarfile}/TCPTimeCounterServer.jar" filesetmanifest="mergewithoutmain">
<manifest> <manifest>
<attribute name="Main-Class" value="verteiltesysteme.aws.TCPTimeCounterServer" /> <attribute name="Main-Class" value="verteiltesysteme.aws.TCPTimeCounterServer" />
<attribute name="Class-Path" value="." />
<attribute name="Class-Path" value="${mf.classpath}" />
</manifest> </manifest>
<fileset dir="${dir.buildfile}/bin" /> <fileset dir="${dir.buildfile}/bin" />
<fileset dir="${dir.buildfile}/lib-aws">
<include name="*.jar" />
</fileset>
<!--<zipgroupfileset dir="${dir.buildfile}/lib-aws" includes="*.jar" />-->
</jar> </jar>
</target> </target>
</project> </project>
Loading…
Cancel
Save