Add simple brief installation instructions.
[jpcrr.git] / compile.sh
blobc8d66a7112cd5fe642a83833a01547298f01d26a
1 #!/bin/bash
3 echo "Cleaning up..."
4 find -name "*.class" -exec rm {} \;
5 echo "Compiling exception list processor..."
6 javac -Xlint:unchecked -encoding utf-8 ExceptionDefProcessor.java || exit 1
7 echo "Transforming exceptions list..."
8 java ExceptionDefProcessor exceptions.def || exit 1
9 echo "Compiling main application..."
10 javac -Xlint:unchecked -encoding utf-8 JPCApplication.java || exit 1
11 echo "Compiling ImageMaker..."
12 javac -Xlint:unchecked -encoding utf-8 ImageMaker.java || exit 1
13 echo "Compiling plugins..."
14 javac -Xlint:unchecked -encoding utf-8 org/jpc/plugins/*.java || exit 1
15 echo "Compiling utilities..."
16 javac -Xlint:unchecked -encoding utf-8 org/jpc/utils/*.java || exit 1
17 echo "Compiling SoudTest..."
18 javac -Xlint:unchecked -encoding utf-8 SoundTest.java || exit 1
19 echo "Compling streamtools..."
20 cd streamtools || make
21 echo "Done."