Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (16 sloc) 843 Bytes
export CLASSPATH=./classes:./testclasses:./libs/asm-all-4.1.jar:./libs/junit.jar:$CLASSPATH
echo making dir: ./classes
rm -rf ./classes
rm -rf ./testclasses
mkdir ./classes
mkdir ./testclasses
echo Compiling java source ===========================================
javac -Xlint:unchecked -g -d ./classes `find . -name "*.java" `
echo Compiling .j files for testing ==================================
java -ea -nf -d ./classes `find . -name "*.j"`
echo Weaving =========================================================
# Weave all files under ./classes, compiling the tests to
# ./testclasses while excluding any that match "ExInvalid". These are
# negative tests for the Weaver.
java -ea -d ./classes -x "ExInvalid|test" ./classes
java -ea -d ./testclasses -x "ExInvalid" ./classes