Now fails if ProGuard can't run

git-svn-id: https://zxing.googlecode.com/svn/trunk@160 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-02-04 19:16:34 +00:00
parent 8f7a3346cb
commit 4645d1eaad

View file

@ -133,7 +133,7 @@
<jar jarfile="${jar-name}.jar" basedir="build-j2me" manifest="src/com/google/zxing/client/j2me/MANIFEST.MF" level="9"/>
<move file="${jar-name}.jar" tofile="temp.jar"/>
<java jar="${WTK-home}/bin/proguard.jar" fork="true">
<java jar="${WTK-home}/bin/proguard.jar" fork="true" failonerror="true">
<arg value="-injars temp.jar"/>
<arg value="-outjars ${jar-name}.jar"/>
<arg value="-libraryjars ${preverify-classpath}"/>