1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
ProGuard, Java class file shrinker and obfuscator
=================================================
This distribution contains the following directories:
- lib : the main jars, compiled and ready to use with "java -jar ...."
- docs : the complete documentation, licenses, etc. in html format
- examples : some example configuration files
- src : the source code
The best place to start is docs/index.html
Example
=======
If you want to give ProGuard a spin right away, try processing the jar itself:
cd examples
java -jar ../lib/proguard.jar @proguard.pro
The resulting proguard_out.jar contains the same application, but it's a lot
smaller!
Development
===========
If you're interested in changing and extending ProGuard, you can start by
compiling the source code yourself:
mkdir classes
javac -sourcepath src -d classes src/proguard/ProGuard.java
javac -sourcepath src -d classes src/proguard/retrace/ReTrace.java
javac -sourcepath src -d classes src/proguard/gui/ProGuardGUI.java
If you want to compile the ProGuard Ant task as well:
javac -sourcepath src -d classes -classpath lib/ant.jar \
src/proguard/ant/ProGuardTask.java
If you want to compile the J2ME WTK obfuscator plug-in:
javac -sourcepath src -d classes -classpath wtklib/kenv.zip \
src/proguard/wtk/ProGuardObfuscator.java
Note that you'll have to install Ant and the J2ME WTK yourself.
Enjoy!
http://proguard.sourceforge.net/
Copyright (c) 2002-2005 Eric Lafortune (eric@graphics.cornell.edu)
|