permaculture playing cards
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

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 ?
[ October 10, 2006: Message edited by: Dave Jones ]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

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

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

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

Joined: Mar 22, 2005
Posts: 42965
One of the examples makes it look like you can use the "*" wildcard with the keep option.
I agree. Here's the link:
subject: Proguard parameters
It's not a secret anymore!