Fix small display problem when extension starts with 9
[zxing.git] / core / build.xml
index f02fcb6..ad307cc 100644 (file)
 
     <delete file="core.jar"/>
     <mkdir dir="optimized"/>
-    <java jar="${WTK-home}/bin/proguard.jar" fork="true" failonerror="true">
+    <java jar="${proguard-jar}" fork="true" failonerror="true">
       <jvmarg value="-Dmaximum.inlined.code.length=48"/>
       <arg value="-injars build"/>
       <arg value="-outjars optimized"/>
       <!-- Needed for Mac OS. -->
       <!--<arg value="-libraryjars ${java.home}/../Classes/classes.jar"/>-->
       <!-- Needed for other Android apps besides Barcode Scanner. -->
-      <!--<arg value="-libraryjars ${android-home}/platforms/android-1.6/android.jar"/>-->
+      <!--<arg value="-libraryjars ${android-home}/platforms/android-3/android.jar"/>-->
       <arg value="-keep class com.google.zxing.* {public protected *;}"/>
       <arg value="-keep class com.google.zxing.common.*Binarizer {public protected *;}"/>
       <!-- Remove this line is you only use the Result base object and want the smallest jar. -->
       <assertions>
         <enable/>
       </assertions>
-      <jvmarg value="-Xint"/> <!-- works around weird JIT bug in Java 6 -->
+      <jvmarg value="-Djava.awt.headless=true"/>      
       <batchtest>
         <fileset dir="test/src">
           <include name="**/${subdir}/*BlackBox*TestCase.java"/>
       <assertions>
         <enable/>
       </assertions>
-      <jvmarg value="-Xint"/> <!-- works around weird JIT bug in Java 6 -->
+      <jvmarg value="-Djava.awt.headless=true"/>
       <batchtest>
         <fileset dir="test/src">
           <include name="**/*TestCase.java"/>