I know that this is a very old topic but, I'm trying to use ProGuard right now and I'm having a problem with the mapping files.
The mapping file for
Object1 points to
org.mycomp.model.Object1 but ProGuard renames it as
org.mycomp.b.c.
On the ProGuard examples page (http://proguard.sourceforge.net/manual/examples.html) I see this:
Quote:
Processing resource files
If your application, applet, servlet, library, etc., contains resource files, it may be necessary to adapt their names and/or their contents when the application is obfuscated. The following two options can achieve this automatically:
-adaptresourcefilenames **.properties,**.gif,**.jpg
-adaptresourcefilecontents **.properties,META-INF/MANIFEST.MF
The -adaptresourcefilenames option in this case renames properties files and image files in the processed output, based on the obfuscated names of their corresponding class files (if any). The -adaptresourcefilecontents option looks for class names in properties files and in the manifest file, and replaces these names by the obfuscated names (if any). You'll probably want to adapt the filters to suit your application.
If I'm not wrong, that is what I'm looking for, but I can't make it works.
Somebody uses ProGuard on a JAR file with hiibernate mapping files? How do that?
Thanks in Advance
Regards Juan Pablo