diff options
Diffstat (limited to 'examples/servlets.pro')
-rw-r--r-- | examples/servlets.pro | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/examples/servlets.pro b/examples/servlets.pro index b42b2e4..fdc36b0 100644 --- a/examples/servlets.pro +++ b/examples/servlets.pro @@ -12,26 +12,17 @@ -libraryjars <java.home>/lib/rt.jar -libraryjars /usr/local/java/servlet/servlet.jar -# Save the obfuscation mapping to a file, so you can de-obfuscate any stack -# traces later on. Keep a fixed source file attribute and all line number -# tables to get line numbers in the stack traces. -# You can comment this out if you're not interested in stack traces. - --printmapping out.map --renamesourcefileattribute SourceFile --keepattributes SourceFile,LineNumberTable - -# Preserve all annotations. +# Preserve all public servlets. --keepattributes *Annotation* +-keep public class * implements javax.servlet.Servlet -# You can print out the seeds that are matching the keep options below. +# Print out a list of what we're preserving. -#-printseeds out.seeds +-printseeds -# Preserve all public servlets. +# Preserve all annotations. --keep public class * implements javax.servlet.Servlet +-keepattributes *Annotation* # Preserve all native method names and the names of their classes. |