Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Source Code obfuscator ( not bytecode obfuscator )

807605Jul 26 2007 — edited Jul 27 2007
Hello,
I'm looking for an obfuscation tool that doesn't work on bytecode file but directly on the source code. It could seem a weird request, I'll explain my problem...

I developed a GWT Java application and I'm packaging it in a jar file for reuse and commercial distribution, GWT requires that a jar file containing a module must contain the .java files together with .class files for the client-side of the application. It is not easy protect the code in such context, the only thing I can do is obfuscate the source code but with a "lighter" obfuscation algorithm that preserves the public interface of my classes, the packages, the imports and all the parts of code that shouldn't be changed to make the code be compiled.
The tool i'm looking for should execute that "light obfuscation" task as an ant task before creating the jar file so that I can work over the code as usual...

could anyone help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2007
Added on Jul 26 2007
9 comments
969 views