uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swirl <swirl...@yahoo.com>
Subject Uima and Proguard obfuscation
Date Sun, 28 Jul 2013 10:27:31 GMT
Hi!

I was trying to create a obfuscated API library based on Uima/Uimafit.

My project was in Maven so I used the Proguard plugin: 
http://pastebin.com/T3N3JgVv

When tried to use the obfuscated jar in a separate application, an Uima 
parameter "PARAM_OUTDIR" was strangely nullified. 

For an un-obfuscated jar, looking through a decompiler:
http://pastebin.com/JnQkV2mJ

When I looked at the jar through a decompiler, this is what I see:
http://pastebin.com/B0ZJpaFk
Notice the line "private String outputDirectory;" is totally removed in the 
obfuscated jar.


Is Proguard compatible with Uima/Uimafit? 
Is my plugin config incorrect?




Mime
View raw message