Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Configuring Mobile Designer : Mobile Designer Configuration Properties (sdk.properties) : Proguard Obfuscator Settings
Proguard Obfuscator Settings
Use the Proguard obfuscator settings to provide information about your installed version of Proguard if you want to use Proguard for Android. Mobile Designer only supports obfuscation using Proguard for Android.
Note:  
If you have the Android SDK installed, Proguard is included in the SDK.
Mobile Designer has been tested with Proguard versions 3.7 through to 5.1.
Caution:  
Proguard version 4.0.1 and later includes method collapsing. If your application has collapsible methods, this might cause problems if a device has built in method size limits. If this is the case, you can change parameters to use an earlier version of Proguard or different execution parameters for that particular device.
proguard.library.root
Specifies the Proguard directory that contains the proguard.jar file.
Value
Path to the Proguard directory.
Default
None.
Example
proguard.library.root=C:/Proguard/lib
obfuscator.proguard.version
Specifies the Proguard configuration and mapping you want to use.
Value
Configuration and mapping from the Tools/Proguard folder.
Default
One of the following:
*Proguard version 4.7 if the version supplied with the Android SDK is available
*Otherwise:
*If building for the Android platform, Proguard version 4.3
*If building for another platform, Proguard version 4.0.1
Example
obfuscator.proguard.version=proguard_4.7
obfuscator.proguard.library.filename
Specifies the name of your Proguard library.
Value
Proguard library name without the .jar extension.
Default
None
Example
obfuscator.proguard.library.filename=proguard
obfuscator
Enables or disables use of the obfuscator.
Value
*proguard if you want to use Proguard as the obfuscator.
*none to disable the obfuscator.
Default
none
Example
obfuscator=proguard
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback