Re: [gwt-contrib] Remove unused code of external JavaScript file?

2015-12-31 Thread confile
Okay, When I put the code of the external JS file in a JSNI method. Do I have to put all the code I one method? To have a concrete example here is the code I use: https://github.com/Atmosphere/atmosphere-javascript/blob/master/modules/javascript/src/main/webapp/javascript/atmosphere.js Could

Re: Getting rid of Dev mode for future GWT releases

2015-12-31 Thread Axel
> Javascript debuggers can do most of the things you are asking for. The > Chrome debugger can do conditional breakpoints, restart a frame > (drop-in-frame), and I think it can also override JS values just fine. It > can break on any exception (caught and uncaught) and inside the browser dev

Re: [gwt-contrib] Remove unused code of external JavaScript file?

2015-12-31 Thread Colin Alworth
The short answer is yes, it can all go into one method, or several methods, etc. The important part is "what does that JS expect to do", and how might we accidentally break it by letting a compiler at it. With that big of a file, I'm afraid I don't have time right now to take it apart piece by

Re: ArrayIndexOutOfBoundsException in GWT Compiler for non-trivial type arg in RPC service parameter

2015-12-31 Thread Axel
I've now also checked this with GWT 2.8.0 compiled from commit ad8ed35116bf22efdfdcf6984a3a3d79e26ded04 with the following result: Compiling module gwt.generics.bug.Gwt_generics_bug Computing all possible rebind results for 'gwt.generics.bug.client.GreetingService' Rebinding

[gwt-contrib] Re: Remove unused code of external JavaScript file?

2015-12-31 Thread Jens
I think Ray Cromwell did something like that using a generator and a linker. Can't remember exact details and he never shared is experiment. I would guess it was a resource generator so you can define a JavaScriptResource in ClientBundle (instead of TextResource) and then this resource made

Re: It should be registered via or entry in your .gwt.xml ?

2015-12-31 Thread Brandon Donnelson
Looks like the element is missing from the dtd? https://gwt.googlesource.com/gwt.git/+/master/distro-source/core/src/gwt-module.dtd On Wednesday, December 30, 2015 at 4:22:44 PM UTC-8, Thomas Broyer wrote: > > > > On Thursday, December 31, 2015 at 12:45:11 AM UTC+1, cellepo wrote: >> >> It