|
-?
|
Show the usage
|
|
-p
|
Parse the ZKM Script file and display any errors but don't execute the script. This option is handy for
syntax checking a long and complicated script.
|
|
-v
|
Verbose. Display extra information in the log file.
|
|
-l <logFileName>
|
Use the specified file as the log file to which messages should be written. May be relative or absolute.
If the path is relative, then the file will be written to the default directory.
By default the file "ZKM_log.txt" in the default directory will be used.
|
|
-tl <trimLogFileName>
|
Use the specified file as the trim log file. May be relative or absolute.
If the path is relative, then the file will be written to the default directory.
By default the file "ZKM_TrimLog.txt" in the default directory will be used.
|
|
-de <defaultExcludeFileName>
|
Specifies the path name of the file containing the default name exclusions. May be relative or absolute.
If the path is relative, Zelix KlassMaster will look in the default directory.
By default Zelix KlassMaster will look in the default directory for the file "defaultExclude.txt".
|
|
-dte <defaultTrimExcludeFileName>
|
Specifies the path name of the file containing the default trim exclusions. May be relative or absolute.
If the path is relative, Zelix KlassMaster will look in the default directory.
By default Zelix KlassMaster will look in the default directory for the file "defaultTrimExclude.txt".
|
|
-dd <defaultDirectoryName>
|
Specifies the path name of the directory which will be used as the default directory. May be relative or absolute.
If the path is relative, then it will be relative to the current working directory.
By default, the default directory will be the current working directory.
|
|
-ro <fileName>
|
Redirect stdout to the specified file. Redirects messages and warnings.
Errors will still be written to stderr.
|
|
<ZKMScriptFileName>
|
The name of the ZKM Script file to execute. May be relative or absolute.
If the path is relative, then it will be relative to the current working directory.
|
| Option |
Description |
| ZKM_SCRIPT_ENCODING |
Can be set to indicate the character encoding of any ZKM Scripts. (e.g. ISO-8859-1)
|
| ZKM_NEW_CHANGE_LOG_ENCODING |
Can be set to indicate the character encoding to be used when writing change logs. (e.g. ISO-8859-1)
|
| ZKM_FIXED_TOTALLY_UNCHANGED |
Set to true to copy across any classes that you have specified as "fixed" completely unchanged.
|
| ZKM_REFLECTION_WARNINGS |
Set to false to supress Reflection API warnings in the Zelix KlassMastertm log.
|
| ZKM_TEST_HIERARCHY |
Set to false to stop Zelix KlassMastertm from testing for gaps in the inheritance hierarchy.
Gaps in the inheritance hierarchy are likely to cause problems in the Trim function so you should not use this option if you are using that function.
Gaps in the inheritance hierarchy can also cause problems when name obfuscating if package, class or non-private field and method names are changed.
|
| ZKM_CREATE_BACKUP |
Set to false to prevent overwritten JAR files being backed up with the .BACKUP extension.
|
| ZKM_DELETE_EMPTY_DIRECTORIES |
Set to false to prevent empty directories from being written to the obfuscated archive file.
|
| ZKM_RANDOMIZE_OBFUSCATION |
Set to true to increase the randomness of Zelix KlassMaster's obfuscation across builds.
By default, Zelix KlassMaster will obfuscate an unchanged set of classes in largely the same way across builds.
|