build.bat

@ECHO OFF

REM Recreate the bin directory and jar output file.
IF EXIST bin RMDIR /S /Q bin
MKDIR bin
IF EXIST RoombaApplet.jar DEL RoombaApplet.jar

REM Compile all existing java files.
javac -Xlint -d bin src\*.java

REM Copy images into the bin directory.
COPY src\*.png bin\edu\hawaii\ics\yucheng > NUL

REM Package all produced classes into a java archive.
jar cf RoombaApplet.jar -C bin .
Valid HTML 4.01 Valid CSS