
Note that this is fundamentally different from the "skip" and "unskip" syntax that is mentioned above.įile filters can specify class or non-class files and filtered files will not be copied to the save destination.Īlso filtered classes will not be appended to the effective classpath. You can tell Zelix KlassMaster to totally ignore certain files by specifying a file filter. Therefore will not be saved with the obfuscated output.

However, it will not be analyzed or updated to reflect obfuscated names as described above.īy contrast, a non-class file opened from the file system (as opposed to contained in an opened archive) which is also specified in a "skip" clause simply will not be opened and
#Obfuscated xz archive#
Note that if a non-class file contained in an opened archive is specified in a "skip" clause then it will still be copied across to the saved archive. The "unskip" must be at the same archive level as the "skip" that it narrows. The syntax is +"x.jar!com/mycompany/M圜lass.class" If you have specified a broad "skip" clause then you can use a narrower "unskip" to reduce the scope of that "skip" clause. However, if you "skip" any classes then you must make sure that those classes does not access any of the classes that are to be obfuscated. "skip") a specified class or XML file from the file system (i.e. You can use the -"com/mycompany/M圜lass.class" syntax to tell Zelix KlassMaster to not open (i.e. "skip") a specified class or XML file within an archive. You can also use the -"x.jar!com/mycompany/M圜lass.class" syntax to tell Zelix KlassMaster to not open (i.e. They will also be appended to the effective classpath. Note that although "skipped" classes will not be opened for obfuscation they will still be saved to the specified output archive along with the obfuscated classes. In such cases you can use the -"x.ear!y.war!WEB-INF/lib/z.jar" syntax to tell Zelix KlassMaster to not open (i.e. Occassionally this can cause a problem where your EAR contains a nested third party JAR that you don't want to obfuscate. This typically happens in the case of JEE EAR or WAR archives.
#Obfuscated xz rar#
If you open an archive that contains nested JAR, ZIP, WAR or RAR archives then the nestedĪrchives will also be opened for obfuscation. See the File | SaveAll documentation for more detail. Some of these files may be updated to reflect obfuscated names.

If you do this then your obfuscated application can be deployed in exactly the same way as the original, unobfuscated application.Īny non-class files contained in opened archive files will be copied across to the corresponding saved archive files. It is highly recommended that you open your classes for obfuscation using the same relative directory and/or archive structure that will be used at runtime. Open statements do not have a cumulative effect. The ZKM Script open statement opens class files and Java ME JAD files for processing by Zelix KlassMaster. Java Obfuscator - Zelix KlassMaster - open
