another language pack fix

This commit is contained in:
David Black 2013-06-02 13:53:57 +01:00
parent 88f40b01bb
commit 053f1e7111
2 changed files with 8 additions and 24 deletions

View file

@ -19,23 +19,25 @@ http://donelaitis.vdu.lt/publikacijos/Dazninis_zodynas.pdf
Repo Type:svn Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Lithuanian Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Lithuanian
Build Version:20101104-shift,8,1431,patch=xml.patch;rules.patch,update=force,init=rm -rf bin/ gen/,\ Build Version:20101104-shift,8,1431,patch=xml.patch,update=force,init=rm -rf bin/ gen/,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\ srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \ sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
find . -type f -print0 | xargs -0 \ find . -type f -print0 | xargs -0 \
sed -i 's/com.menny.android.anysoftkeyboard.api/com.anysoftkeyboard.api/g' && \ sed -i 's/com.menny.android.anysoftkeyboard.api/com.anysoftkeyboard.api/g' && \
mkdir -p dict/ res/raw/ && rm -f release/* assets/* && \ mkdir -p dict/ res/raw/ && rm -f release/* assets/* && \
wget https://softkeyboard.googlecode.com/svn-history/r1431/trunk/DictionaryTools/xml/LICENSE_for_lt.txt && \ wget https://softkeyboard.googlecode.com/svn-history/r1431/trunk/DictionaryTools/xml/LICENSE_for_lt.txt && \
wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/lt.xml \ wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/lt.xml \
-O dict/words.xml && ant dict -f rules.xml -O dict/words.xml,build=\
java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Build Version:20111024,9,1935,patch=xml.patch;rules.patch,update=force,init=rm -rf bin/ gen/,\ Build Version:20111024,9,1935,patch=xml.patch,update=force,init=rm -rf bin/ gen/,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\ srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \ sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ && rm -f release/* res/raw/* && \ mkdir -p dict/ && rm -f release/* res/raw/* && \
wget https://softkeyboard.googlecode.com/svn-history/r1935/trunk/DictionaryTools/xml/LICENSE_for_lt.txt && \ wget https://softkeyboard.googlecode.com/svn-history/r1935/trunk/DictionaryTools/xml/LICENSE_for_lt.txt && \
wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/lt.xml \ wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/lt.xml \
-O dict/words.xml && ant dict -f rules.xml -O dict/words.xml,build=\
java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None Auto Update Mode:None
Update Check Mode:None Update Check Mode:None

View file

@ -1,18 +0,0 @@
diff --git a/rules.xml b/rules.xml
new file mode 100644
index 0000000..575a987
--- /dev/null
+++ b/rules.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="rules" >
+ <target name="dict" >
+
+ <java
+ failonerror="true"
+ fork="true"
+ jar="../extlib/AnySoftKeyboardTools/makedict/makedict.jar" >
+ </java>
+ </target>
+
+</project>