1 ICU4J=/usr/share/java/icu4j-49.1.jar
2 test -r "$ICU4J" || ICU4J=/usr/share/icu4j-55/lib/icu4j.jar
3 JUNIT=/usr/share/java/junit.jar
4 test -r "$JUNIT" || JUNIT=/usr/share/junit/lib/junit.jar
5 XERCES=/usr/share/java/xercesImpl.jar
6 test -r "$XERCES" || XERCES=/usr/share/xerces-2/lib/xercesImpl.jar
7 COMMONS=/usr/share/java/commons-lang3.jar
8 test -r "$COMMONS" || COMMONS=/usr/share/commons-lang-3.3/lib/commons-lang.jar
9 if [ ! -x ../Util -o ! -x ../Dictionary ] ; then
10 echo "You need to clone Util and Dictionary repositories into .."
13 if [ ! -r "$ICU4J" ] ; then
14 echo "ICU4J needs to be installed"
17 if [ ! -r "$JUNIT" ] ; then
18 echo "Junit needs to be installed"
21 if [ ! -r "$XERCES" ] ; then
22 echo "Xerces needs to be installed"
25 if [ ! -r "$COMMONS" ] ; then
26 echo "commons-lang needs to be installed"
29 javac -g ../Util/src/com/hughes/util/*.java ../Util/src/com/hughes/util/raf/*.java ../Dictionary/src/com/hughes/android/dictionary/DictionaryInfo.java ../Dictionary/src/com/hughes/android/dictionary/engine/*.java ../Dictionary/src/com/hughes/android/dictionary/C.java src/com/hughes/android/dictionary/*.java src/com/hughes/android/dictionary/*/*.java src/com/hughes/android/dictionary/*/*/*.java -classpath "$ICU4J:$JUNIT:$XERCES:$COMMONS"