>        I've used obfuscators for this purpose. A nice open source one
>        is here http://proguard.sourceforge.net/

Worth noting that proguard is a shrinker *and* obfuscator.

IOW, it'll both remove things not needed *and* obfuscate (switching
packages or not, based on config).  The shrinking is a *huge* help in
some areas, like when I have my applet jar merge in some libraries
(zipgroupfileset is *nice* in ant) like Jakarta Commons Lang, Logging,
etc.

    http://proguard.sourceforge.net/alternatives.html

As an aside, proguard's author, Eric Lafortune, has been *very*
responsive about potential bugs.  As it turned out, for instance,
Microsoft's "jvc" compiler in debug mode adds in proprietary class
attributes not in the official byte code specification (specifically,
a SourceDir attribute), and Eric sent me a patch to add support for it
only 24 hours after I had tracked down the problem.  It was great!

So, yeah, proguard rocks - everyone should use it :)

James
-- 
James Manning <http://www.sublogic.com/james/>
GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4

_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to