java - Proguard obfuscate Fat jar -


My application Jar includes classes from swing-layout.jar which has a free layout manager for Java 1.5. During the vague process, I get a lot of warnings like

 [proguard] Note: org.jdesktop.layout.SwingLayoutStyle uses a field 'INDE NT' dynamically [proguard] Probably this programmable field Is' org.jdesktop .layout.LayoutStyl e {int INDENT; } '

I have to leave the projector alone org.jdesktop sections alone and get rid of the warnings I'm trying to do.

 --keeppackagenames org.jdesktop * 

But is not it working?

you want me to think,

  -keep org .jdesktop **  

Pay attention to two stars. From:

  * matches any part of a name that does not have a package separator or directory separator. ** matches any part of a name, possibly there are any package separators or directory separators in it.  

-keeppackagenames just keeps ... the name of the package! You want - Maintenance, which protects these packages names


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -