REM SET Java_Home=C:\java\j2sdk1.4.2_10
set CLASSPATH=.;%Java_Home%\lib\dt.jar;%Java_Home%\lib\tools.jar;.\lib\js.jar;.\lib\jzlib.jar
SET JAVACPATH=%Java_Home%\bin\javac -g -nowarn -deprecation

IF "%1" == "docs" GOTO :DOCS

%JAVACPATH% com/planet_ink/fakedb/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/*.java
%JAVACPATH% com/planet_ink/coffee_mud/application/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Areas/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Behaviors/*.java
%JAVACPATH% com/planet_ink/coffee_mud/CharClasses/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Commands/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Common/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Exits/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Libraries/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Locales/*.java
%JAVACPATH% com/planet_ink/coffee_mud/MOBS/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Races/*.java
%JAVACPATH% com/planet_ink/coffee_mud/WebMacros/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Archon/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Common/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Diseases/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Druid/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Fighter/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Languages/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Misc/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Paladin/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Poisons/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Prayers/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Properties/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Ranger/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Skills/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Songs/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Specializations/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Spells/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/SuperPowers/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Thief/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Abilities/Traps/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Areas/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Behaviors/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/CharClasses/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Commands/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Common/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/database/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/exceptions/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/http/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/smtp/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/threads/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/imc2/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/net/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/packets/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/persist/*.java
%JAVACPATH% com/planet_ink/coffee_mud/core/intermud/server/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Exits/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/Armor/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/Basic/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/ClanItems/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/MiscMagic/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/MiscTech/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/Software/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Items/Weapons/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Libraries/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Locales/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/MOBS/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/Races/interfaces/*.java
%JAVACPATH% com/planet_ink/coffee_mud/WebMacros/grinder/*.java
%JAVACPATH% com/planet_ink/coffee_mud/WebMacros/interfaces/*.java
%JAVACPATH% com/planet_ink/siplet/applet/*.java
%JAVACPATH% com/planet_ink/siplet/support/*.java

GOTO :FINISH

:DOCS

%Java_Home%\bin\javadoc -d .\docs -J-Xmx256m -subpackages com.planet_ink.coffee_mud 

:FINISH
