Zelix KlassMaster - Documentation
 

Tools | ZKM Script Helper

The ZKM Script Helper tool leads you through a sequence of dialogs to help you create a basic ZKM Script file. (More elaborate ZKM Scripts can be created using a simple text editor.) Although many of the dialogs in the sequence closely resemble those that can be selected directly from the menus, the ZKM Script Helper doesn't actually open, obfuscate or save your classes. You have to execute the ZKM Script that you create from the command window.

Also see:
 

Basics

You can start the ZKM Script Helper at any time by selecting the Tools | ZKM Script Helper menu.
Zelix KlassMaster - Selecting ZKM Script Helper

Leads to...

Introduction

You advance through the dialog sequence by clicking on Next. To return to a previous window click on Previous. You can exit the sequence at any time by clicking on Cancel.
ZKM Script Helper - Introduction

Leads to...

"classpath" Statement

The ZKM Script Helper "classpath Statement" 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.
ZKM Script Helper - classpath statement

Leads to...

"open" statement

The ZKM Script Helper "open Statement" dialog works in exactly the same way as the "File | Open" dialog. Of course, no files are actually processed. Your selections are merely converted into a ZKM Script open statement.

However, the directories and archive files that you wish to select must already exist and at least one of them must contain a class file.
ZKM Script Helper - open statement

Leads to...

"trimExclude" Statement

The ZKM Script Helper "trimExclude Statement" dialog works in exactly the same way as the "Trim Exclusions" dialog called by the "Tools | Trim" menu option except that there is no Test button. Click on Skip to skip the Trim Exclusion step entirely.
ZKM Script Helper - trimExclude statement

Leads to...

"trim" Statement

The ZKM Script Helper "trim Statement" dialog works in exactly the same way as the "Trim Options" dialog called by the "Tools | Trim" menu option. Click on Skip to skip the Trim step entirely.
ZKM Script Helper - trim statement

Leads to...

"exclude" Statement

The ZKM Script Helper "exclude Statement" dialog works in exactly the same way as the "Obfuscate Name Exclusions" dialog you can see if you select the "Tools | Obfuscate" menu option.

ZKM Script Helper - Exclude statement

Leads to...

"obfuscate" Statement

The ZKM Script Helper "obfuscate Statement" dialog works in exactly the same way as the "Obfuscate Options" dialog.
ZKM Script Helper - obfuscate statement

 
Leads to...

"obfuscateReferencesInclude Statement"

Your will only see this dialog if you have selected the "obfuscate references" on the previous window.

The ZKM Script Helper "obfuscateReferencesInclude Statement" dialog works in exactly the same way as the "Obfuscate Reference Inclusions" dialog.
ZKM Script Helper - saveAll Statement

 
Leads to...

"saveAll" Satement

The ZKM Script Helper "saveAll Statement" dialog works in exactly the same way as the "File | Save all" dialog.

The directory into which you wish to save your classes must already exist or be created at this time.
ZKM Script Helper - saveAll Statement

Leads to...

Finished Script

You can now view your finished ZKM Script. Click on Save to save it to a file. You can of course edit the file in a basic text editor to make any changes you wish.
ZKM Script Helper - Finished script

 
Documentation Table of Contents