#!/bin/sh
#
# jc - shorthand to call java compiler
# with appropriate CLASSPATH and arguments

cd ../../..

# if Browser extends Plugin you'll also need this class from netscape's Java zip file
# (see Browser.java)
CLASSPATH=`pwd`/classes:`pwd`/javasrc:`pwd`/native/SDK/classes/moz3_0.zip:"$CLASSPATH"
# otherwise, iicm and vrml.external classes are sufficient
# CLASSPATH=`pwd`/classes:`pwd`/javasrc:"$CLASSPATH"
# echo CLASSPATH=$CLASSPATH
export CLASSPATH

for f
do
  set -x
  javac -d classes javasrc/vrml/external/$f
done
