forked from srieger/verteilte-systeme-bsc-ai-examples
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.4 KiB
63 lines
2.4 KiB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<project default="all" name="Create Runnable Jar for Servers in Project VerteilteSysteme-Examples">
|
|
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
|
|
<!--ANT 1.7 is required -->
|
|
<!--define folder properties-->
|
|
<property name="dir.buildfile" value=".." />
|
|
<property name="dir.workspace" value=".." />
|
|
<property name="dir.jarfile" value="." />
|
|
|
|
<target name="all" depends="create_run_jar_tcpserver, create_run_jar_udpserver, create_run_jar_tcpservermulti, create_run_jar_udptimecounterserver, create_run_jar_tcpperfserver">
|
|
</target>
|
|
|
|
<target name="create_run_jar_tcpserver">
|
|
<jar destfile="${dir.jarfile}/TCPServer.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="verteiltesysteme.socket.simple.TCPServer" />
|
|
<attribute name="Class-Path" value="." />
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin" />
|
|
</jar>
|
|
</target>
|
|
|
|
<target name="create_run_jar_udpserver">
|
|
<jar destfile="${dir.jarfile}/UDPServer.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="verteiltesysteme.socket.simple.UDPServer" />
|
|
<attribute name="Class-Path" value="." />
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin" />
|
|
</jar>
|
|
</target>
|
|
|
|
<target name="create_run_jar_tcpservermulti">
|
|
<jar destfile="${dir.jarfile}/TCPServerMulti.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="verteiltesysteme.socket.multithread.TCPServerMulti" />
|
|
<attribute name="Class-Path" value="." />
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin" />
|
|
</jar>
|
|
</target>
|
|
|
|
<target name="create_run_jar_udptimecounterserver">
|
|
<jar destfile="${dir.jarfile}/UDPTimeCounterServer.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="verteiltesysteme.socket.timecounter.UDPTimeCounterServer" />
|
|
<attribute name="Class-Path" value="." />
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin" />
|
|
</jar>
|
|
</target>
|
|
|
|
<target name="create_run_jar_tcpperfserver">
|
|
<jar destfile="${dir.jarfile}/TCPPerfServer.jar" filesetmanifest="mergewithoutmain">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="verteiltesysteme.socket.perf.TCPPerfServer" />
|
|
<attribute name="Class-Path" value="." />
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin" />
|
|
</jar>
|
|
</target>
|
|
|
|
</project>
|