Home | History | Annotate | Download | only in manual

Lines Matching full:code

30 Before you can use the <code>proguard</code> task, you have to tell Ant about
32 <code>build.xml</code> file:
59 the <a href="#configuration_attribute"><code>configuration</code></a>
61 <code>proguard</code> task. Your ant build file will then look like this:
79 the contents of the file into the nested text of the <code>proguard</code> task
102 Firstly, the <code>#</code> character cannot be used for comments in an XML
103 file. Comments must be enclosed by an opening <code>&lt;!--</code> and a
104 closing <code>--&gt;</code>. All occurrences of the <code>#</code> character
108 Secondly, the use of <code>&lt;</code> and <code>&gt;</code> characters would
110 specified with the usual Ant style <code>${...}</code>, instead of the ProGuard
111 style <code>&lt;...&gt;</code>. Other occurrences of <code>&lt;</code> and
112 <code>&gt;</code> have to be encoded as <code>&amp;lt;</code> and
113 <code>&amp;gt;</code> respectively.
124 files in the <code>examples/ant</code> directory of the ProGuard distribution.
129 The <code><b>&lt;proguard&gt;</b></code> task and the
130 <code><b>&lt;proguardconfiguration&gt;</b></code> task can have the following
131 attributes (only for <code>&lt;proguard&gt;</code>) and nested
136 <dt><a name="configuration_attribute"><code><b>configuration</b></code></a>
141 href="#configuration_element"><code>configuration</code></a>
144 <dt><a href="usage.html#skipnonpubliclibraryclasses"><code><b>skipnonpubliclibraryclasses</b></code></a>
149 <dt><a href="usage.html#dontskipnonpubliclibraryclassmembers"><code><b>skipnonpubliclibraryclassmembers</b></code></a>
154 <dt><a href="usage.html#target"><code><b>target</b></code></a>
159 <dt><a href="usage.html#forceprocessing"><code><b>forceprocessing</b></code></a>
164 <dt><a href="usage.html#printseeds"><code><b>printseeds</b></code></a>
167 <dd>List classes and class members matched by the various <code>keep</code>
170 <dt><a href="usage.html#dontshrink"><code><b>shrink</b></code></a>
175 <dt><a href="usage.html#printusage"><code><b>printusage</b></code></a>
178 <dd>List dead code of the input class files, to the standard output or to the
181 <dt><a href="usage.html#dontoptimize"><code><b>optimize</b></code></a>
186 <dt><a href="usage.html#optimizationpasses"><code><b>optimizationpasses</b></code></a>
191 <dt><a href="usage.html#allowaccessmodification"><code><b>allowaccessmodification</b></code></a>
197 <dt><a href="usage.html#mergeinterfacesaggressively"><code><b>mergeinterfacesaggressively</b></code></a>
202 <dt><a href="usage.html#dontobfuscate"><code><b>obfuscate</b></code></a>
207 <dt><a href="usage.html#printmapping"><code><b>printmapping</b></code></a>
213 <dt><a href="usage.html#applymapping"><code><b>applymapping</b></code></a>
218 <dt><a href="usage.html#obfuscationdictionary"><code><b>obfuscationdictionary</b></code></a>
224 <dt><a href="usage.html#classobfuscationdictionary"><code><b>classobfuscationdictionary</b></code></a>
229 <dt><a href="usage.html#packageobfuscationdictionary"><code><b>packageobfuscationdictionary</b></code></a>
234 <dt><a href="usage.html#overloadaggressively"><code><b>overloadaggressively</b></code></a>
239 <dt><a href="usage.html#useuniqueclassmembernames"><code><b>useuniqueclassmembernames</b></code></a>
245 <dt><a href="usage.html#dontusemixedcaseclassnames"><code><b>usemixedcaseclassnames</b></code></a>
250 <dt><a href="usage.html#flattenpackagehierarchy"><code><b>flattenpackagehierarchy</b></code></a>
256 <dt><a href="usage.html#repackageclasses"><code><b>repackageclasses</b></code></a>
262 <dt><a href="usage.html#keepparameternames"><code><b>keepparameternames</b></code></a>
267 <dt><a href="usage.html#renamesourcefileattribute"><code><b>renamesourcefileattribute</b></code></a>
270 <dd>Put the given constant string in the <code>SourceFile</code>
273 <dt><a href="usage.html#dontpreverify"><code><b>preverify</b></code></a>
279 <dt><a href="usage.html#microedition"><code><b>microedition</b></code></a>
284 <dt><a href="usage.html#verbose"><code><b>verbose</b></code></a>
289 <dt><a href="usage.html#dontnote"><code><b>note</b></code></a>
296 <dt><a href="usage.html#dontwarn"><code><b>warn</b></code></a>
303 <dt><a href="usage.html#ignorewarnings"><code><b>ignorewarnings</b></code></a>
309 <dt><a href="usage.html#printconfiguration"><code><b>printconfiguration</b></code></a>
316 <dt><a href="usage.html#dump"><code><b>dump</b></code></a>
322 <dt><a href="usage.html#injars"><code><b>&lt;injar</b></code></a>
324 <code><b>/&gt;</b></code></dt>
328 <dt><a href="usage.html#outjars"><code><b>&lt;outjar</b></code></a>
330 <code><b>/&gt;</b></code></dt>
334 <dt><a href="usage.html#libraryjars"><code><b>&lt;libraryjar</b></code></a>
336 <code><b>/&gt;</b></code></dt>
340 <dt><a href="usage.html#keepdirectories"><code><b>&lt;keepdirectory name = </b></code></a>"<i>directory_name</i>"
341 <code><b>/&gt;</b></code><br/>
342 <a href="usage.html#keepdirectories"><code><b>&lt;keepdirectories filter = </b></code></a>"<a href="usage.html#filefilters"><i>directory_filter</i></a>"
343 <code><b>/&gt;</b></code></dt>
347 <dt><a href="usage.html#keep"><code><b>&lt;keep</b></code></a>
350 <code><b>&gt;</b></code>
352 <code><b>&lt;/keep&gt;</b></code></dt>
355 <dt><a href="usage.html#keepclassmembers"><code><b>&lt;keepclassmembers</b></code></a>
358 <code><b>&gt;</b></code>
360 <code><b>&lt;/keepclassmembers&gt;</b></code></dt>
364 <dt><a href="usage.html#keepclasseswithmembers"><code><b>&lt;keepclasseswithmembers</b></code></a>
367 <code><b>&gt;</b></code>
369 <code><b>&lt;/keepclasseswithmembers&gt;</b></code></dt>
373 <dt><a href="usage.html#keepnames"><code><b>&lt;keepnames</b></code></a>
375 <code><b>&gt;</b></code>
377 <code><b>&lt;/keepnames&gt;</b></code></dt>
381 <dt><a href="usage.html#keepclassmembernames"><code><b>&lt;keepclassmembernames</b></code></a>
383 <code><b>&gt;</b></code>
385 <code><b>&lt;/keepclassmembernames&gt;</b></code></dt>
389 <dt><a href="usage.html#keepclasseswithmembernames"><code><b>&lt;keepclasseswithmembernames</b></code></a>
391 <code><b>&gt;</b></code>
393 <code><b>&lt;/keepclasseswithmembernames&gt;</b></code></dt>
398 <dt><a href="usage.html#whyareyoukeeping"><code><b>&lt;whyareyoukeeping</b></code></a>
400 <code><b>&gt;</b></code>
402 <code><b>&lt;/whyareyoukeeping&gt;</b></code></dt>
406 <dt><a href="usage.html#assumenosideeffects"><code><b>&lt;assumenosideeffects</b></code></a>
408 <code><b>&gt;</b></code>
410 <code><b>&lt;/assumenosideeffects&gt;</b></code></dt>
415 <dt><a href="usage.html#optimizations"><code><b>&lt;optimization name = </b></code></a>"<a href="optimizations.html"><i>optimization_name</i></a>"
416 <code><b>/&gt;</b></code><br/>
417 <a href="usage.html#optimizations"><code><b>&lt;optimizations filter = </b></code></a>""<a href="optimizations.html"><i>optimization_filter</i></a>"
418 <code><b>/&gt;</b></code></dt>
421 <dt><a href="usage.html#keeppackagenames"><code><b>&lt;keeppackagename name = </b></code></a>"<i>package_name</i>"
422 <code><b>/&gt;</b></code><br/>
423 <a href="usage.html#keeppackagenames"><code><b>&lt;keeppackagenames filter = </b></code></a>"<a href="usage.html#filters"><i>package_filter</i></a>"
424 <code><b>/&gt;</b></code></dt>
428 <dt><a href="usage.html#keepattributes"><code><b>&lt;keepattribute name = </b></code></a>"<i>attribute_name</i>"
429 <code><b>/&gt;</b></code><br/>
430 <a href="usage.html#keepattributes"><code><b>&lt;keepattributes filter = </b></code></a>"<a href="usage.html#filters"><i>attribute_filter</i></a>"
431 <code><b>/&gt;</b></code></dt>
435 <dt><a href="usage.html#adaptclassstrings"><code><b>&lt;adaptclassstrings filter = </b></code></a>"<a href="usage.html#filters"><i>class_filter</i></a>"
436 <code><b>/&gt;</b></code></dt>
440 <dt><a href="usage.html#adaptresourcefilenames"><code><b>&lt;adaptresourcefilenames filter = </b></code></a>"<a href="usage.html#filefilters"><i>file_filter</i></a>"
441 <code><b>/&gt;</b></code></dt>
445 <dt><a href="usage.html#adaptresourcefilecontents"><code><b>&lt;adaptresourcefilecontents filter = </b></code></a>"<a href="usage.html#filefilters"><i>file_filter</i></a>"
446 <code><b>/&gt;</b></code></dt>
451 <a href="usage.html#dontnote"><code><b>&lt;dontnote filter = </b></code></a>"<a href="usage.html#filters"><i>class_filter</i></a>"
452 <code><b>/&gt;</b></code></dt>
457 <a href="usage.html#dontwarn"><code><b>&lt;dontwarn filter = </b></code></a>"<a href="usage.html#filters"><i>class_filter</i></a>"
458 <code><b>/&gt;</b></code></dt>
462 <dt><a name="configuration_element"><code><b>&lt;configuration refid = </b></code></a>"<i>ref_id</i>"
463 <code><b>/&gt;</b></code><br/>
464 <code><b>&lt;configuration file = </b></code>"<i>name</i>"
465 <code><b>/&gt;</b></code></dt>
467 <code>&lt;proguardconfiguration&gt;</code> task (or
468 <code>&lt;proguard&gt;</code> task) with attribute <code>id</code> =
473 file. The element is actually a <code>fileset</code> element and supports
481 The jar elements are <code>path</code> elements, so they can have any of the
482 standard <code>path</code> attributes and nested elements. The most common
487 <dt><code><b>path</b></code> = "<i>path</i>"</dt>
491 <dt><code><b>location</b></code> = "<i>name</i>" (or <code><b>file</b></code>
492 = "<i>name</i>", or <code><b>dir</b></code> = "<i>name</i>", or
493 <code><b>name</b></code> = "<i>name</i>")</dt>
497 <dt><code><b>refid</b></code> = "<i>ref_id</i>"</dt>
499 <code>id</code> = "<i>ref_id</i>".</dd>
507 <dt><code><b>filter</b></code> =
512 <dt><code><b>apkfilter</b></code> =
516 <dt><code><b>jarfilter</b></code> =
520 <dt><code><b>aarfilter</b></code> =
524 <dt><code><b>warfilter</b></code> =
528 <dt><code><b>earfilter</b></code> =
532 <dt><code><b>zipfilter</b></code> =
544 <dt><a href="usage.html#includedescriptorclasses"><code><b>includedescriptorclasses</b></code></a>
550 <dt><a href="usage.html#allowshrinking"><code><b>allowshrinking</b></code></a>
556 <dt><a href="usage.html#allowoptimization"><code><b>allowoptimization</b></code></a>
562 <dt><a href="usage.html#allowobfuscation"><code><b>allowobfuscation</b></code></a>
577 <dt><code><b>access</b></code> = "<i>access_modifiers</i>"</dt>
581 <dt><code><b>annotation</b></code> = "<i>annotation_name</i>"</dt>
585 <dt><code><b>type</b></code> = "<i>type</i>"</dt>
589 <dt><code><b>name</b></code> = "<i>class_name</i>"</dt>
593 <dt><code><b>extendsannotation</b></code> = "<i>annotation_name</i>"</dt>
597 <dt><code><b>extends</b></code> = "<i>class_name</i>"</dt>
601 <dt><code><b>implements</b></code> = "<i>class_name</i>"</dt>
605 <dt><code><b>&lt;field</b></code>
607 <code><b>/&gt;</b></code></dt>
610 <dt><code><b>&lt;method</b></code>
612 <code><b>/&gt;</b></code></dt>
615 <dt><code><b>&lt;constructor</b></code>
617 <code><b>/&gt;</b></code></dt>
629 <dt><code><b>access</b></code> = "<i>access_modifiers</i>"</dt>
634 <dt><code><b>annotation</b></code> = "<i>annotation_name</i>"</dt>
638 <dt><code><b>type</b></code> = "<i>type</i>"</dt>
641 which the <code>parameters</code> attribute is specified.</dd>
643 <dt><code><b>name</b></code> = "<i>name</i>"</dt>
647 <dt><code><b>parameters</b></code> = "<i>parameters</i>"</dt>
650 constructors, and for methods for which the <code>type</code> attribute is