This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Proguard parameters

 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers
I'm using proguard at work, for obfuscating my jars, but now I have a jar that dynamically created class instances, so I refereed to use --keep parameter.
Thing is, I can't find the correct way to use this param for specifying which packages not to obfuscate.
Can anyone help ?
Thanks,
Dave
[ October 10, 2006: Message edited by: Dave Jones ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our "Other Java Products and Servers" forum.
 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK
I've found the -keep parameter, but this is good for classes while I need this option for entire packages.
help ?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the examples makes it look like you can use the "*" wildcard with the keep option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic