build.sh

#!/bin/sh

# Recreate the bin directory and jar output file
rm -rf bin
mkdir bin
rm -f RoombaApplet.jar

# Compile all existing java files
javac -Xlint -d bin src/*.java

# Copy images into the bin directory.
cp src/*.png bin/edu/hawaii/ics/yucheng/

# Package all produced classes into a java archive.
jar cf RoombaApplet.jar -C bin/ .

# Ensure the java archive is visible by the web server account.
chmod 644 RoombaApplet.jar
Valid HTML 4.01 Valid CSS