diff options
Diffstat (limited to 'examples/ant/applications3.xml')
-rw-r--r-- | examples/ant/applications3.xml | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/examples/ant/applications3.xml b/examples/ant/applications3.xml index e42eb39..d5501e0 100644 --- a/examples/ant/applications3.xml +++ b/examples/ant/applications3.xml @@ -1,6 +1,6 @@ <!-- This Ant build file illustrates how to process applications, using a full-blown XML configuration. - Usage: ant -f applications3.xml --> + Usage: ant -f applications.xml --> <project name="Applications" default="obfuscate" basedir="../.."> @@ -8,9 +8,7 @@ <taskdef resource="proguard/ant/task.properties" classpath="lib/proguard.jar" /> - <proguard printseeds="on" - printmapping="out.map" - renamesourcefileattribute="SourceFile"> + <proguard printseeds="on"> <!-- Specify the input jars, output jars, and library jars. --> @@ -23,14 +21,6 @@ <!-- libraryjar file="jai_core.jar" / --> <!-- ... / --> - <!-- Preserve line numbers in the obfuscated stack traces. --> - - <keepattribute name="LineNumberTable" /> - <keepattribute name="SourceFile" /> - - <!-- Preserve all annotations. --> - - <keepattribute name="*Annotation*" /> <!-- Preserve all public applications. --> @@ -41,6 +31,10 @@ parameters="java.lang.String[]" /> </keepclasseswithmembers> + <!-- Preserve all annotations. --> + + <keepattribute name="*Annotation*" /> + <!-- Preserve all native method names and the names of their classes. --> <keepclasseswithmembernames> |