How to include obfuscated jar file into a war file

北城以北 提交于 2019-12-06 14:52:46

YGaurd is supposed to read your jar for a Main-Class attribute... Your ant to generate the manifest looks correct, does the manifest come out OK?

You can also specify a mainclass in your rename element: <rename logfile="renamelog.xml" mainclass="${main-class}>

Both methods should prevent your main class from being obfuscated.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!