-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
milanvanzanten
committed
Jun 22, 2015
0 parents
commit 14165ed
Showing
146 changed files
with
21,019 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
.idea | ||
bin | ||
data | ||
doc | ||
*.log | ||
*.log.* | ||
milestones | ||
reports | ||
SafariBowl.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0"?> | ||
<project name="SafariBowl Server & 2 Clients" default="run" basedir="."> | ||
|
||
<target name="clean"> | ||
<delete dir="bin/jar" /> | ||
<delete dir="log" /> | ||
<delete dir="reports"/> | ||
<mkdir dir="bin/jar" /> | ||
<mkdir dir="doc" /> | ||
<mkdir dir="reports" /> | ||
</target> | ||
|
||
<target name="build" depends="clean"> | ||
<mkdir dir="bin/classes" /> | ||
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
</javac> | ||
</target> | ||
|
||
<target name="doc" depends="build"> | ||
<javadoc sourcepath="src" | ||
destdir="doc" | ||
author="true" | ||
version="true" | ||
use="true" | ||
windowtitle="SafariBowl Documentation"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle> | ||
<tag name="TODO" scope="all" description="To do:"/> | ||
</javadoc> | ||
</target> | ||
|
||
<target name="junit" depends="build"> | ||
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes"> | ||
<classpath> | ||
<fileset dir="lib" includes="*.jar"/> | ||
<pathelement location="bin/classes"/> | ||
</classpath> | ||
|
||
<formatter type="xml"/> | ||
|
||
<batchtest fork="yes" todir="reports"> | ||
<fileset dir="src" includes="**/*Test.java"/> | ||
</batchtest> | ||
</junit> | ||
</target> | ||
|
||
<target name="jar" depends="build"> | ||
<mkdir dir="bin/jar" /> | ||
<jar destfile="bin/jar/Client.jar"> | ||
<fileset dir="bin/classes/"/> | ||
<fileset dir="resources/"/> | ||
<zipgroupfileset dir="lib" includes="**/*.jar" /> | ||
<manifest> | ||
<attribute name="Main-Class" value="client.Client" /> | ||
</manifest> | ||
</jar> | ||
<jar destfile="bin/jar/Server.jar"> | ||
<fileset dir="bin/classes/"/> | ||
<fileset dir="resources/"/> | ||
<zipgroupfileset dir="lib" includes="**/*.jar" /> | ||
<manifest> | ||
<attribute name="Main-Class" value="server.Server" /> | ||
</manifest> | ||
</jar> | ||
<jar destfile="bin/jar/SafariBowl.jar"> | ||
<fileset dir="bin/classes/"/> | ||
<fileset dir="resources/"/> | ||
<zipgroupfileset dir="lib" includes="**/*.jar" /> | ||
<manifest> | ||
<attribute name="Main-Class" value="util.MainApplication" /> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="run" depends="jar"> | ||
<parallel> | ||
<java jar="bin/jar/Server.jar" fork="true" /> | ||
<java jar="bin/jar/Client.jar" fork="true" /> | ||
<java jar="bin/jar/Client.jar" fork="true" /> | ||
</parallel> | ||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0"?> | ||
<project name="SafariBowl Client" default="run" basedir="."> | ||
|
||
<target name="clean"> | ||
<delete dir="bin/jar" /> | ||
<delete dir="log" /> | ||
<delete dir="reports"/> | ||
<mkdir dir="bin/jar" /> | ||
<mkdir dir="doc" /> | ||
<mkdir dir="reports" /> | ||
</target> | ||
|
||
<target name="build" depends="clean"> | ||
<mkdir dir="bin/classes" /> | ||
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
</javac> | ||
</target> | ||
|
||
<target name="doc" depends="build"> | ||
<javadoc sourcepath="src" | ||
destdir="doc" | ||
author="true" | ||
version="true" | ||
use="true" | ||
windowtitle="SafariBowl Documentation"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle> | ||
<tag name="TODO" scope="all" description="To do:"/> | ||
</javadoc> | ||
</target> | ||
|
||
<target name="junit" depends="build"> | ||
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes"> | ||
<classpath> | ||
<fileset dir="lib" includes="*.jar"/> | ||
<pathelement location="bin/classes"/> | ||
</classpath> | ||
|
||
<formatter type="xml"/> | ||
|
||
<batchtest fork="yes" todir="reports"> | ||
<fileset dir="src" includes="**/*Test.java"/> | ||
</batchtest> | ||
</junit> | ||
</target> | ||
|
||
<target name="jar" depends="build"> | ||
<mkdir dir="bin/jar" /> | ||
<jar destfile="bin/jar/Client.jar"> | ||
<fileset dir="bin/classes/"/> | ||
<fileset dir="resources/"/> | ||
<zipgroupfileset dir="lib" includes="**/*.jar" /> | ||
<manifest> | ||
<attribute name="Main-Class" value="client.Client" /> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="run" depends="jar"> | ||
<java jar="bin/jar/Client.jar" fork="true" /> | ||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0"?> | ||
<project name="SafariBowl Server" default="run" basedir="."> | ||
|
||
<target name="clean"> | ||
<delete dir="bin/jar" /> | ||
<delete dir="log" /> | ||
<delete dir="reports"/> | ||
<mkdir dir="bin/jar" /> | ||
<mkdir dir="doc" /> | ||
<mkdir dir="reports" /> | ||
</target> | ||
|
||
<target name="build" depends="clean"> | ||
<mkdir dir="bin/classes" /> | ||
<javac srcdir="src" destdir="bin/classes" includes="**/*.java" includeantruntime="true"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
</javac> | ||
</target> | ||
|
||
<target name="doc" depends="build"> | ||
<javadoc sourcepath="src" | ||
destdir="doc" | ||
author="true" | ||
version="true" | ||
use="true" | ||
windowtitle="SafariBowl Documentation"> | ||
<classpath> | ||
<fileset dir="lib"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</classpath> | ||
<doctitle><![CDATA[<h1>SafariBowl</h1>]]></doctitle> | ||
<tag name="TODO" scope="all" description="To do:"/> | ||
</javadoc> | ||
</target> | ||
|
||
<target name="junit" depends="build"> | ||
<junit printsummary="yes" haltonerror="yes" haltonfailure="yes" showoutput="yes"> | ||
<classpath> | ||
<fileset dir="lib" includes="*.jar"/> | ||
<pathelement location="bin/classes"/> | ||
</classpath> | ||
|
||
<formatter type="xml"/> | ||
|
||
<batchtest fork="yes" todir="reports"> | ||
<fileset dir="src" includes="**/*Test.java"/> | ||
</batchtest> | ||
</junit> | ||
</target> | ||
|
||
<target name="jar" depends="build"> | ||
<mkdir dir="bin/jar" /> | ||
<jar destfile="bin/jar/Server.jar"> | ||
<fileset dir="bin/classes/"/> | ||
<fileset dir="resources/"/> | ||
<zipgroupfileset dir="lib" includes="**/*.jar" /> | ||
<manifest> | ||
<attribute name="Main-Class" value="server.Server" /> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="run" depends="jar"> | ||
<java jar="bin/jar/Server.jar" fork="true" /> | ||
</target> | ||
|
||
</project> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.