Tools | Build Helper
The Build Helper will guide you through the basic steps of trimming and/or obfuscating your classes.
The Build Helper is handy for evaluating Zelix KlassMaster. However, because each step is executed online, using the
Build Helper can be time consuming for large applications. Therefore you should consider using
ZKM Script as an
alternative. The Build Helper will lead you through a sequence of steps that will allow you to:
|
|
Basics
You will be given the option to launch the Build Helper when you first start up Zelix KlassMaster.
Alternately, you can start the Build Helper at any time by selecting the Tools | Build Helper menu.
|
|
|
|
You advance through the dialog sequence by clicking on .
To return to a previous window click on .
You can exit the sequence at any time by clicking on .
|
|
|
|
The Build Helper "Classpath" dialog works in exactly the same way as the
"Options | Classpath" dialog.
The directories and archive files that you put into the classpath must already exist.
Also, there must be a path to java.lang.Object .
You can import or export a classpath from or to a text file by clicking on the or buttons.
|
|
|
The Build Helper "Open Classes" dialog works in exactly the same way as the
"File | Open" dialog. The directories and archive files that you
wish to select must already exist and at least one of them must contain a class file.
By default, any archives nested within selected archives will also be opened for processing.
You can override this default by deselecting the open nested archives check box.
|
|
|
|
The Build Helper "Trim Exclusions" dialog works in exactly the same way as the
dialog called by the "Tools | Trim" menu option.
Click on
to skip the Trim Exclusion step entirely.
|
|
|
|
The Build Helper "Trim Options" dialog works in exactly the same way as the
"Trim Options" dialog called by the "Tools | Trim" menu option.
Click on
to skip the Trim step entirely.
|
|
|
|
The Build Helper "Obfuscate Name Exclusions" dialog works in exactly the same way as the
"Obfuscate Name Exclusions" dialog you can see if you select
the "Tools | Trim" menu option.
|
|
|
|
The Build Helper "Obfuscate Options" dialog works in exactly the same way as the
"Obfuscate Options" dialog called by the "Tools | Obfuscate" menu option.
|
|
|
|
|
|
"Reference Obfuscation Inclusions"
Your will only see this dialog if you have selected the "obfuscate references" on the previous window.
The ZKM Script Helper "Reference Obfuscation Inclusions" dialog works in exactly the same way as the
"Obfuscate Reference Inclusions" dialog.
|
|
|
|
|
|
The Build Helper "SaveAll" dialog works in exactly the same way as the
dialog you can see if you select the "File | Save all" menu option.
The directory into which you wish to save your classes must already exist or be created at this time.
|
|
|
|
The Build Helper creates ZKM Script equivalent to the GUI commands entered throughout the Build Helper dialog.
Click on to view and save
the equivalent ZKM Script.
|
|
|
|
Equivalent ZKM Script
You can now view the equivalent ZKM Script, and if you wish, save it to file. Click on
to access the save dialog.
|
|