• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Obfuscating using Yguard

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic