diff options
-rw-r--r-- | GuessANumber/Controller/.gitignore | 4 | ||||
-rw-r--r-- | GuessANumber/Controller/build.xml | 10 | ||||
-rw-r--r-- | GuessANumber/RandomBot/build.xml | 9 |
3 files changed, 23 insertions, 0 deletions
diff --git a/GuessANumber/Controller/.gitignore b/GuessANumber/Controller/.gitignore new file mode 100644 index 0000000..74b41d6 --- /dev/null +++ b/GuessANumber/Controller/.gitignore @@ -0,0 +1,4 @@ +/bin/ +.classpath +.project +/dist/ diff --git a/GuessANumber/Controller/build.xml b/GuessANumber/Controller/build.xml index c7c89c9..7e8a538 100644 --- a/GuessANumber/Controller/build.xml +++ b/GuessANumber/Controller/build.xml @@ -35,4 +35,14 @@ <delete dir="${build}"/> <delete dir="${dist}"/> </target> + + <!-- 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.MyGame"> + <arg line="${args}"/> + </java> + </target> </project> diff --git a/GuessANumber/RandomBot/build.xml b/GuessANumber/RandomBot/build.xml index 770c483..ef48460 100644 --- a/GuessANumber/RandomBot/build.xml +++ b/GuessANumber/RandomBot/build.xml @@ -35,4 +35,13 @@ <delete dir="${build}"/> <delete dir="${dist}"/> </target> + + <!-- Run like ant run --> + <target name="run" + description="run the program"> + <java + classpath="${build}" + classname="nl.camilstaps.botleagues.bot.BotStarter"> + </java> + </target> </project> |