aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Proguard parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Proguard parameters" Watch "Proguard parameters" New topic
Author

Proguard parameters

Dave Jones
Ranch Hand

Joined: Feb 20, 2005
Posts: 77
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

Joined: Jul 08, 2003
Posts: 24187
    
  34

Moving to our "Other Java Products and Servers" forum.


[Jess in Action][AskingGoodQuestions]
Dave Jones
Ranch Hand

Joined: Feb 20, 2005
Posts: 77
OK
I've found the -keep parameter, but this is good for classes while I need this option for entire packages.
help ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
One of the examples makes it look like you can use the "*" wildcard with the keep option.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Proguard parameters