• Post Reply Bookmark Topic Watch Topic
  • New Topic

Obfuscating using Yguard  RSS feed

 
John Fairbairn
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone used the obfuscate ant task with yGuard?
I am using the obfuscate ant task that comes with the yGuard obfuscating tool.
I have three main files in my application: x.jar, y.jar, z.war.
x.jar is not dependent on any other jars
y.jar is dependent on x.jar
z.war is dependent on x.jar and y.jar
I'd like to obfuscate all three main files. The problem is that the ant task only obfuscates one file at a time (I believe... correct me if I'm wrong) and when the methods are renamed in a class in one jar the dependent jars can no longer be called.
The file to obfuscate is specified by the inoutpair node. The externalclasses node specifies the dependent jars. Any jars/classes specified by externalclasses do not get obfuscated. However, I do want x.jar and y.jar to be obfuscated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!