]> gitweb.fperrin.net Git - DictionaryPC.git/blob - update_dict_list.sh
Attempt at using maven for compilation
[DictionaryPC.git] / update_dict_list.sh
1 # Run to update ..//Dictionary/res/raw/dictionary_info.txt to reference
2 # all dictionaries in /data/outputs (needs to contain both zip and uncompressed files).
3 RUNNER=./DictionaryPC
4 if ! test -x "$RUNNER" ; then
5   JAVA=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
6   test -x "$JAVA" || JAVA=java
7   RUNNER="$JAVA -classpath bin/:/usr/share/java/com.ibm.icu.jar com.hughes.android.dictionary.engine.Runner"
8 fi
9 $RUNNER CheckDictionariesMain "$@"