lw-lin / jarjar

Automatically exported from code.google.com/p/jarjar
0 stars 0 forks source link

Support exclusive as well as inclusive patterns #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to jarjar all the libraries of a project
2. Find you want to exclude one set of packages from renaming, but rename 
everything else
3. The syntax does not allow you to express this other than by explicitly 
listing all the libraries you do want to rename.

What version of the product are you using? On what operating system?

1.0 on Fedora Linux

I'd like to see JarJar extended so that I can concisely specify "rename 
everything except these packages" as this is a common use-case. e.g. I don't 
want to rename log4j's packages (because its config format uses Class.forname), 
but I do want to rename everything else.

Original issue reported on code.google.com by dtnort...@gmail.com on 17 Dec 2010 at 3:51