更改GWT代码的混淆级别
问题描述:
我正在尝试使用该标志;更改GWT代码的混淆级别
-style PRETTY
这里讨论: http://www.gwtproject.org/doc/latest/FAQ_DebuggingAndCompiling.html
但其并不明显,我在那里,我把该设置。 我期待在我的现场服务器上发送'PRETTY'代码并行版本。
我直接从我的IDE(Eclipse中)部署
做它活在我.gwt.xml文件?
感谢您的任何提示。
答
如果你使用Maven的,你可以把它放在你的.pom
文件不混淆transpiled JS:
<properties>
<gwt.compiler.style>PRETTY</gwt.compiler.style>
</properties>
为了不混淆的CSS,使用:
<set-configuration-property name="CssResource.style" value="PRETTY"/>
在*.gwt.xml
我想答案在这里,现在尝试http://*.com/questions/12746059/how-to-deploy-gwt-application-with-pretty-compiled-html-using-google-plugin-for – doright
可能的重复[如何使用Eclipse的谷歌插件用漂亮的编译HTML部署GWT应用程序](http://*.com/questions/12746059/how-to-deploy-gwt-application-with-pretty-compiled-html -using-google-plugin-for) – walen