File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Proguard parameters

 
Dave Jones
Ranch Hand
Posts: 77
  • 0
  • 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: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic