aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ant/applets.xml
diff options
context:
space:
mode:
authorBrint E. Kriebel <bekit@cyngn.com>2014-09-29 17:19:43 -0700
committerBrint E. Kriebel <bekit@cyngn.com>2014-09-29 17:19:43 -0700
commitb64a23b7cc2761f03879ceb6b030ae80171f11e2 (patch)
tree86ba49fd1b7275a7e293c3c3bc44e6317bebf67f /examples/ant/applets.xml
parentfe926bab25e3af81265d4e0bbb79bcdb41b10635 (diff)
parent9961286c06c25cd03464d3e2b00bd9b9dedf96ba (diff)
downloadandroid_external_proguard-stable/cm-11.0.tar.gz
android_external_proguard-stable/cm-11.0.tar.bz2
android_external_proguard-stable/cm-11.0.zip
Diffstat (limited to 'examples/ant/applets.xml')
-rw-r--r--examples/ant/applets.xml15
1 files changed, 11 insertions, 4 deletions
diff --git a/examples/ant/applets.xml b/examples/ant/applets.xml
index a55b1c3..4d0cb38 100644
--- a/examples/ant/applets.xml
+++ b/examples/ant/applets.xml
@@ -7,7 +7,9 @@
<taskdef resource="proguard/ant/task.properties"
classpath="lib/proguard.jar" />
- <proguard printseeds="on">
+ <proguard printseeds="on"
+ printmapping="out.map"
+ renamesourcefileattribute="SourceFile">
<!-- Specify the input jars, output jars, and library jars. -->
@@ -16,14 +18,19 @@
<libraryjar file="${java.home}/lib/rt.jar" />
- <!-- Preserve all public applets. -->
-
- <keep access="public" extends="java.applet.Applet" />
+ <!-- Optionally preserve line numbers in the obfuscated stack traces.
+ <keepattribute name="LineNumberTable">
+ <keepattribute name="SourceFile">
+ -->
<!-- Preserve all annotations. -->
<keepattribute name="*Annotation*" />
+ <!-- Preserve all public applets. -->
+
+ <keep access="public" extends="java.applet.Applet" />
+
<!-- Preserve all native method names and the names of their classes. -->
<keepclasseswithmembernames>