Zelix KlassMaster - Documentation
 

The saveAllOld Statement

Please note that the saveAllOld statement is obsolete and it will eventually be removed from the ZKM Script language.

The ZKM Script saveAllOld statement saves all opened classes to the specified directory. It has the limited functionality of the saveAll statement as it was in Zelix KlassMaster™ 2.4 and earlier. It was created to allow version 2.4 ZKM Scripts to be easily modified to work exactly as intended with Zelix KlassMaster™ 2.5 and later.

Explanation

The saveAllOld statement saves all opened classes in their current state. If the statement follows an obfuscate statement then the classes will be saved in their obfuscated state. If the directory specified by the saveAllOld statement doesn't exist then it will be created.

The saveAllOld statement does not perform any of special handling of
  • class files opened from jar and zip archives,
  • non-class files such as image and properties files opened from jar and zip archives,
  • manifest, EJB deployment descriptor and service provider files
that is performed by the saveAll statement. Only class files are saved and they are only saved to the directory structure.

Example

saveAllOld "c:\temp";

Syntax

"saveAllOld" "\"" directoryName "\"" ";"

where directoryName is the name of the directory into which the class files are to be saved.

ZKM Script saveAll statement The ZKM Script Language ZKM Script gc statement
Zelix KlassMaster - Java Obfuscator