Home | History | Annotate | Download | only in manual

Lines Matching full:proguard

13 <b>ProGuard</b> can be run as a task in the Java-based build tool Ant (version
17 Before you can use the <code>proguard</code> task, you have to tell Ant about
23 &lt;taskdef resource="proguard/ant/task.properties"
24 classpath="/usr/local/java/proguard/lib/proguard.jar" /&gt;
31 There are three ways to configure the ProGuard task: using an external
32 configuration file, using embedded ProGuard configuration options, or using
37 <h3>1. An external ProGuard configuration file</h3>
39 The simplest way to use the ProGuard task in an Ant build file is to keep your
40 ProGuard configuration file, and include it from Ant. You can include your
41 ProGuard configuration file by setting
44 <code>proguard</code> task. Your ant build file will then look like this:
48 &lt;taskdef resource="proguard/ant/task.properties"
49 classpath="/usr/local/java/proguard/lib/proguard.jar" /&gt;
50 &lt;proguard configuration="myconfigfile.pro"/&gt;
54 This is a convenient option if you prefer ProGuard's configuration style over
59 <h3>2. Embedded ProGuard configuration options</h3>
61 Instead of keeping an external ProGuard configuration file, you can also copy
62 the contents of the file into the nested text of the <code>proguard</code> task
67 &lt;taskdef resource="proguard/ant/task.properties"
68 classpath="/usr/local/java/proguard/lib/proguard.jar" /&gt;
69 &lt;proguard&gt;
77 &lt;/proguard&gt;
94 syntax also allows you to use Ant properties within the ProGuard
102 ProGuard configuration options by XML configuration tags. The resulting
107 files in the <code>examples/ant</code> directory of the ProGuard distribution.
110 <a name="proguard">&nbsp;</a>
113 The <code><b>&lt;proguard&gt;</b></code> task and the
115 attributes (only for <code>&lt;proguard&gt;</code>) and nested
122 <dd>Read and merge options from the given ProGuard-style configuration
290 <dd>Write out the entire configuration in traditional ProGuard style, to the
442 <code>&lt;proguard&gt;</code> task) with the attribute <code>id</code> =
444 are considered, not the attributes. Also note: for reading ProGuard-style
475 In addition, the jar tags can have ProGuard-style filter attributes: