PageRenderTime 18ms CodeModel.GetById 10ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/build.sh

http://github.com/kilim/kilim
Shell | 22 lines | 13 code | 6 blank | 3 comment | 1 complexity | 0761de39cbbadcf267d06a14266fcdb4 MD5 | raw file
 1export CLASSPATH=./classes:./testclasses:./libs/asm-all-4.1.jar:./libs/junit.jar:$CLASSPATH 
 2
 3echo making dir:  ./classes
 4rm -rf ./classes
 5rm -rf ./testclasses
 6mkdir ./classes
 7mkdir ./testclasses
 8
 9echo Compiling java source ===========================================
10javac -Xlint:unchecked -g -d ./classes `find . -name "*.java" `
11
12echo Compiling .j files for testing ==================================
13java -ea kilim.tools.Asm -nf -d ./classes `find . -name "*.j"`
14
15echo Weaving =========================================================
16# Weave all files under ./classes, compiling the tests to
17# ./testclasses while excluding any that match "ExInvalid". These are
18# negative tests for the Weaver.
19java -ea kilim.tools.Weaver -d ./classes -x "ExInvalid|test" ./classes
20java -ea kilim.tools.Weaver -d ./testclasses -x "ExInvalid" ./classes
21
22