Proguard does not adapt resources inside jar file
I use proguard as follows:
<proguard configuration="${proguard.config}" ignorewarnings="true"> <libraryjar dir="${build.lib}" filter="!some**.jar"/> <injar file="${build.dir.result}/some.jar"/> <injar> <fileset refid="another.jars"/> </injar> <outjar file="${build.dir.result}/some_obf.jar"/> <keep name="${entrypoint.class}"> <method name="main"/> </keep> </proguard> In the configuration, I also have options (and many others):
-adaptresourcefilenames **.properties -adaptresourcefilecontents In banks, I compiled classes and spring xml configs. The configurations are located in META-INF / spring /. All class names are obfuscated normally (marked), all classes from xml are confused and have a new name. I want to replace class names with full class in spring xml with obfuscation. This is why I am adding the adaptresourcefilecontents parameter, but the xml is not affected. What's wrong?
No one has answered this question yet.
See related questions: