diff options
author | Camil Staps | 2015-05-20 16:10:15 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-20 16:10:15 +0200 |
commit | eb6e40861ba356269dd0565a5bba909e4a60bb52 (patch) | |
tree | 94003e75bb0f13d2e2ebc425efdcb12d1b79c08e | |
parent | timeoutexception, improved contestants (diff) |
Fix build & exceptions
-rw-r--r-- | GuessANumber/Controller/build.xml | 6 | ||||
-rw-r--r-- | GuessANumber/Controller/src/nl/camilstaps/botleagues/GuessANumberController.java | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/GuessANumber/Controller/build.xml b/GuessANumber/Controller/build.xml index 9fcf458..f4b4b17 100644 --- a/GuessANumber/Controller/build.xml +++ b/GuessANumber/Controller/build.xml @@ -17,7 +17,7 @@ <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="${src}" destdir="${build}" classpath="../../../backyard/java/GameController/bin"/> + <javac srcdir="${src}" destdir="${build}"/> </target> <target name="dist" depends="compile" @@ -39,9 +39,7 @@ <!-- Run like ant run -Dargs="../RandomBot/bin/nl.camilstaps.botleagues.bot.BotStarter ../RandomBot/bin/nl.camilstaps.botleagues.bot.BotStarter" --> <target name="run" description="run the program"> - <java - classpath="../../../backyard/java/GameController/bin:${build}" - classname="nl.camilstaps.botleagues.MyGameController"> + <java classname="nl.camilstaps.botleagues.MyGameController"> <arg line="${args}"/> </java> </target> diff --git a/GuessANumber/Controller/src/nl/camilstaps/botleagues/GuessANumberController.java b/GuessANumber/Controller/src/nl/camilstaps/botleagues/GuessANumberController.java index 411f518..800c215 100644 --- a/GuessANumber/Controller/src/nl/camilstaps/botleagues/GuessANumberController.java +++ b/GuessANumber/Controller/src/nl/camilstaps/botleagues/GuessANumberController.java @@ -3,7 +3,7 @@ package nl.camilstaps.botleagues; import java.util.List; import java.util.Random; -import nl.camilstaps.botleagues.exceptions.TimeOutException; +import nl.camilstaps.botleagues.exception.TimeOutException; import nl.camilstaps.botleagues.roundbasedgame.RoundBasedGameController; /** |