summaryrefslogtreecommitdiff
path: root/examples/ant/midlets.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ant/midlets.xml')
-rw-r--r--examples/ant/midlets.xml52
1 files changed, 0 insertions, 52 deletions
diff --git a/examples/ant/midlets.xml b/examples/ant/midlets.xml
deleted file mode 100644
index fe17277..0000000
--- a/examples/ant/midlets.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<!-- This Ant build file illustrates how to process J2ME midlets.
- Usage: ant -f midlets.xml -->
-
-<project name="Midlets" default="obfuscate" basedir="../..">
-
-<target name="obfuscate">
- <taskdef resource="proguard/ant/task.properties"
- classpath="lib/proguard.jar" />
-
- <proguard microedition="on"
- printseeds="on"
- printmapping="out.map"
- overloadaggressively="on"
- repackageclasses=""
- allowaccessmodification="on"
- renamesourcefileattribute="SourceFile">
-
- <!-- On Windows, you can't use mixed case class names,
- should you still want to use the preverify tool.
- usemixedcaseclassnames="false">
- -->
-
- <!-- Specify the input jars, output jars, and library jars. -->
-
- <injar file="in.jar" />
- <outjar file="out.jar" />
-
- <libraryjar file="/usr/local/java/wtk2.5.2/lib/midpapi20.jar" />
- <libraryjar file="/usr/local/java/wtk2.5.2/lib/cldcapi11.jar" />
-
- <!-- Optionally preserve line numbers in the obfuscated stack traces.
- <keepattribute name="LineNumberTable">
- <keepattribute name="SourceFile">
- -->
-
- <!-- Preserve all public midlets. -->
-
- <keep access="public" extends="javax.microedition.midlet.MIDlet" />
-
- <!-- Preserve all native method names and the names of their classes. -->
-
- <keepclasseswithmembernames includedescriptorclasses="true">
- <method access="native" />
- </keepclasseswithmembernames>
-
- <!-- Your application may contain more items that need to be preserved;
- typically classes that are dynamically created using Class.forName -->
-
- </proguard>
-</target>
-
-</project>