Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (16 sloc) 824 Bytes
export CLASSPATH=./classes:./testclasses:./libs/asm-all-2.2.3.jar:./libs/junit.jar:$CLASSPATH
echo making dir: ./classes
rm -rf ./classes
rm -rf ./testclasses
mkdir ./classes
mkdir ./testclasses
echo Compiling java source ===========================================
javac -g -d ./classes `find . -name "*.java" `
echo Compiling .j files for testing ==================================
java -ea -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