> Dear folks,
>
> Now I need a Obfuscator tool,and I've used some,like RetroGuard,JAX,etc.
>
> I'd like to listen to your better choice with the reason why,thanks a lot.
Hi hoop;
I use yGuard. It integrates with netbeans, and it automatically obfuscates
the jar files that netbeans produces - works great! And it's one of the
better obfuscators I've seen. It's very.. interesting.. to see the
obfuscation it produces. It's far more confusing than mere "a b c"
obfuscation.
I could post examples of how I set it up if you like.
-frl
hoop - 04 Nov 2003 12:22 GMT
Thanks a lot for your help :)
I need your examples also.
> > Dear folks,
> >
[quoted text clipped - 13 lines]
>
> -frl
Fu, Ren-Li - 04 Nov 2003 23:25 GMT
You need ant, netbeans, and yguard properly installed. Then,
1. Create this file in your project directory, modifying the filenames where
you need to:
filename: obfuscate.xml
content:
"
<project name="Netwhack" default="obfuscate" basedir=".">
<description>
Netwhack build file
</description>
<!-- set global properties for this build -->
<target name="obfuscate">
<taskdef name="obfuscate"
classname="com.yworks.yguard.ObfuscatorTask"
classpath="c:/java/yguard/lib/yguard.jar"/>
<obfuscate mainclass="Netwhack" logfile="log.xml">
<inoutpair in="netwhack.jar" out="nw-dist.jar"/>
</obfuscate>
</target>
</project>
"
2. Create a task in NetBeans (File > New > Ant build scripts.. ant task or
something)
3. Link this to a button in netbeans (I forget if this is automatic, but you
can look it up in netbeans help) so all you have to do is build your JAR in
netbeans and then click on the button you linked the custom ant task (the
file in #1) to.
-frl