Monday, June 4, 2012

Linker for Production vs Devmode

Forgive me if there is a simple solution, but for the life of me I cannot solve this problem easily. I use the <script> tag in my gwt.xml files, the cannot change because it is the gflot library, and when I attempted to remove these script lines and move them to the static HTML page, it seemed there was a fatal error in compilation. The issue is that I need the <script> tag, so I cannot use the xsiframe linker, but still need to use the xs linker, which is not compatible with devmode. So my solution was to use the std linker for devmode (xss not present) and the xs linker for production but even when creating separate gwt.xml modules that rewrite to different names, if the code was compiled for production most revently, when launching devmode the error that the xs linker does not work with devmode. The only way to fix this is to clean and try to run devmode, and in this clean environment.

Help?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mEsZUMuIlSkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment