Files located in the tutorial/step3/files directory:
mousegestures-1.2.jar | Mouse Gestures library jar |
test.jar | Jar with mouse gestures demo frame |
RunAllatori.bat | Runs Allatori Obfuscator |
MouseGesturesOriginal.bat | Runs original version of the Mouse Gestures |
MouseGesturesObfuscated.bat | Runs obfuscated version of the Mouse Gestures |
config.xml | Allatori configuration file |
Clean.bat | Deletes generated files |
<config> <jars> <jar in="test.jar" out="obf-test.jar"/> </jars> <classpath> <jar name="mousegestures-1.2.jar"/> </classpath> <keep-names> <class template="class *.TestFrame"/> </keep-names> <property name="log-file" value="log.xml"/> </config>
We have removed mousegestures-1.2.jar from jars section and added new section classpath with reference to Mouse Gestures library. Note that it is not necessary to reference all jars that are needed by your application in the classpath section, but you should understand that missing classpath elements can result in a weaker obfuscation. If you delete (or comment) classpath section Allatori will warn you about missing classes during the obfuscation process.