summaryrefslogtreecommitdiff
path: root/examples/midlets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/midlets.pro')
-rw-r--r--examples/midlets.pro23
1 files changed, 17 insertions, 6 deletions
diff --git a/examples/midlets.pro b/examples/midlets.pro
index bffc38e..1383980 100644
--- a/examples/midlets.pro
+++ b/examples/midlets.pro
@@ -9,8 +9,8 @@
-injars in.jar
-outjars out.jar
--libraryjars /usr/local/java/wtk2.1/lib/midpapi20.jar
--libraryjars /usr/local/java/wtk2.1/lib/cldcapi11.jar
+-libraryjars /usr/local/java/wtk2.5.2/lib/midpapi20.jar
+-libraryjars /usr/local/java/wtk2.5.2/lib/cldcapi11.jar
# Preverify the code suitably for Java Micro Edition.
@@ -34,13 +34,24 @@
#
# -dontusemixedcaseclassnames
-# Preserve all public midlets.
+# Save the obfuscation mapping to a file, so you can de-obfuscate any stack
+# traces later on.
--keep public class * extends javax.microedition.midlet.MIDlet
+-printmapping out.map
+
+# You can keep a fixed source file attribute and all line number tables to
+# get stack traces with line numbers.
+
+#-renamesourcefileattribute SourceFile
+#-keepattributes SourceFile,LineNumberTable
-# Print out a list of what we're preserving.
+# You can print out the seeds that are matching the keep options below.
--printseeds
+#-printseeds out.seeds
+
+# Preserve all public midlets.
+
+-keep public class * extends javax.microedition.midlet.MIDlet
# Preserve all native method names and the names of their classes.