mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 11:47:26 -08:00
Remove level="9" here (oops) and add a dump target for debugging
git-svn-id: https://zxing.googlecode.com/svn/trunk@480 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
4e006fc849
commit
f652a4b100
|
@ -108,7 +108,7 @@
|
|||
<classpath refid="wtk-build-path"/>
|
||||
<exclude name="com/google/zxing/client/j2me/AdvancedMultimediaManager.java"/>
|
||||
</javac>
|
||||
<jar jarfile="javame-basic.jar" basedir="build" level="9"/>
|
||||
<jar jarfile="javame-basic.jar" basedir="build"/>
|
||||
</target>
|
||||
|
||||
<target name="package">
|
||||
|
@ -133,8 +133,7 @@
|
|||
</filterset>
|
||||
</copy>
|
||||
|
||||
<jar jarfile="${jar-name}.jar" basedir="build-j2me" manifest="src/com/google/zxing/client/j2me/MANIFEST.MF"
|
||||
level="9"/>
|
||||
<jar jarfile="${jar-name}.jar" basedir="build-j2me" manifest="src/com/google/zxing/client/j2me/MANIFEST.MF"/>
|
||||
|
||||
<move file="${jar-name}.jar" tofile="temp.jar"/>
|
||||
<java jar="${WTK-home}/bin/proguard.jar" fork="true" failonerror="true">
|
||||
|
@ -183,6 +182,20 @@
|
|||
<antcall target="package"/>
|
||||
</target>
|
||||
|
||||
<target name="dump">
|
||||
<java jar="${WTK-home}/bin/proguard.jar" fork="true">
|
||||
<arg value="-injars BarcodeReader.jar"/>
|
||||
<arg value="-libraryjars ${WTK-home}/lib/cldcapi11.jar"/>
|
||||
<arg value="-libraryjars ${WTK-home}/lib/midpapi20.jar"/>
|
||||
<arg value="-libraryjars ${WTK-home}/lib/mmapi.jar"/>
|
||||
<arg value="-libraryjars ${WTK-home}/lib/jsr234.jar"/>
|
||||
<arg value="-dontshrink"/>
|
||||
<arg value="-dontobfuscate"/>
|
||||
<arg value="-dontoptimize"/>
|
||||
<arg value="-dump dump.txt"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="build"/>
|
||||
<delete dir="build-j2me"/>
|
||||
|
|
Loading…
Reference in a new issue