Re: Output only generated Js
For those who might be interested the solution is to use a linker that extends Abstraclinker and get the string from the compilation result
CompilationResult.getJavaScript()[0];
2011/8/5 Alain Ekambi <jazzmatadazz@googlemail.com>
Well actually not quit exactlet s stay i have the following code in the EntryPointTest t = new Test();t.sayHello();is it possible to get only the corresponding JS ?and not all the other stuff GWT generates ?2011/8/5 Alain Ekambi <jazzmatadazz@googlemail.com>
Lets say i have the following codepublic class Test(){public void sayHello(){Window.alert("Hello");}}
Is it possible to get a file that only contains the JS compilation of that class and not all the other generated stuff by gwt.No matter which browser2011/8/5 Jeff Larsen <larsenje@gmail.com>different browsers get different JS. I don't understand your question. --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/-/4bPEkeyP-8sJ.
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.
--GWT API for non Java based platforms
--GWT API for non Java based platforms
--
GWT API for non Java based platforms
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home