Re: Can I remove compile permutations for the default language

2017-07-18 Thread Thomas Broyer
You could try (though I'd been told years ago that it could cause some issues to "disable" the "default" locale) On Tuesday, July 18, 2017 at 8:50:16 AM UTC+2, Frank wrote: > > We are using our own I18N system with GWT based on dynamic string > internationalization. > So we actaully should

Re: Deploying GWT application on a web server

2017-07-18 Thread tarak
Can I deploy the code generated by GWT other than Tomcat web server? On Tuesday, November 23, 2010 at 4:42:01 PM UTC+5:30, Noor wrote: > > Hi, > I have read the documentation on deployment but I have not yet figured > how to deploy an gwt app on web server. Can someone explain me how to > do

Can I remove compile permutations for the default language

2017-07-18 Thread Frank
We are using our own I18N system with GWT based on dynamic string internationalization. So we actaully should not need any locale property's in our .gwt.xml However. In our system the decimal character should always be a , instead of a point. The way we solved this in the past was by adding

Re: How to recompile the output of GWT compiler with Closure Compiler?

2017-07-18 Thread Kazik Pogoda
I was finally able to solve the issue. After turning on sso linker and adding small postprocessing to GWT output I was able to use it as Closure Compiler input. Here are the changes: https://github.com/xemantic/github-users-web/pull/7 I hope it will help someone struggling with two way

Re: GWT SuperDev mode issue after migrating from 2.7.0 to 2.8.1 with application that uses Spring Framework

2017-07-18 Thread Andrei Anishchenko
Thank you, that helped a lot! On Monday, July 17, 2017 at 5:49:23 PM UTC+3, Thomas Broyer wrote: > > Pull request making the proposed changes (and a bit more): > https://github.com/AndrewAni/GwtDev/pull/1 > > On Monday, July 17, 2017 at 11:45:06 AM UTC+2, Thomas Broyer wrote: >> >> >> >> On

Re: Deploying GWT application on a web server

2017-07-18 Thread Rodolfo Raya
Hi, Yes, you can use Eclipse Jetty instead of Tomcat. See http://www.eclipse.org/jetty/ Regards, Rodolfo -- Rodolfo M. Raya rmr...@maxprograms.com Maxprograms http://www.maxprograms.com On Tue, Jul 18, 2017 at 6:15 AM wrote: > Can I deploy the

Re: Deploying GWT application on a web server

2017-07-18 Thread Ignacio Baca Moreno-Torres
You can deploy the generated app in whatever web server you choose. For example, those pom.xml are configured to deploy to github site https://github.com/ibaca/rxbreakout-gwt/ https://github.com/ibaca/rxsnake-gwt/blob/master/pom.xml This is a bit more complex, but it deploys the app with source

Re: Can I remove compile permutations for the default language

2017-07-18 Thread Frank
Thanks Thomas. Seems to be working ok at first sight. Will see if any issues pop up later. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Deploying GWT application on a web server

2017-07-18 Thread tarak
Thanks, Rodolfo. Actually what I required is? I want to write a function sum(a,b) in java using GWT. Ater compiling the code it will generate javascript code. where can i find the javascript code or function sum(a, b)? Can I use that javascript code alone in another nodejs project? Thanks.

Access GWT labels outside ui.client package

2017-07-18 Thread 'Hakan Calim' via GWT Users
Hi all, in a label which is placed in a panel some text is shown. Now I want to update this label with the information from the object which I implemented as a server in a different server package. I tried to share the label to the server application as a object but in this case I get a

SerializationException when application is modified

2017-07-18 Thread Óscar Frías Barranco
Hi. When we modify the code of our GWT application, in particular the classes that travel through GWT calls, these exceptions are generated for many users for a few hours: com.google.gwt.user.client.rpc.SerializationException: Type '.' was not assignable to

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner
We use https://github.com/realityforge/gwt-cache-filter to help deal with caching issues. On 07/18/2017 12:15 PM, Óscar Frías Barranco wrote: Hi. When we modify the code of our GWT application, in particular the classes

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Michael Joyner
We use Gradle here and not Maven, so I'm stuck at this point. I do know that when we previously tried 3.1.0 we had all sorts of issues with the Tomcat version we were using at the time. You might need to include an additional dependency for use by your

Re: Access GWT labels outside ui.client package

2017-07-18 Thread Jens
> Is there a way to access this label or send messages to this label? > GWT code compiles to JavaScript and runs in the browser (your user interface). Your server code is Java and runs on Tomcat. So you need to communicate between the browser and your server through internet. To do so you

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Renat Kabirov
Tried to remove provided - no result. Tried to switch to servlet-api version 3.0.1 - got an error: Module setup completed in 32400 ms java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionIdListener at org.eclipse.jetty.server.session.SessionHandler.(SessionHandler.java:54) at

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Renat Kabirov
Yes, we do, we have javax.ws.rs:javax.ws.rs-api 2.0.1 in our dependencies. On Tuesday, July 18, 2017 at 3:03:13 PM UTC-5, Michael Joyner wrote: > > I just noticed one of our projects has as dependencies: > > providedCompile 'javax.servlet:javax.servlet-api:3.0.1' > compile

Re: SerializationException when application is modified

2017-07-18 Thread Jens
> We think that this is due to browsers caching the previous (old) code > which is no longer aligned with the server code. We have reviewed all HTTP > headers related to caching and all of the are, we think, correctly > configured. > The issue is that your users have downloaded your GWT app

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Michael Joyner
I just noticed one of our projects has as dependencies:     providedCompile 'javax.servlet:javax.servlet-api:3.0.1'     compile 'javax.ws.rs:javax.ws.rs-api:2.0.1' Do you have the second one? On 07/18/2017 01:36 PM, Michael Joyner wrote:

Re: SerializationException when application is modified

2017-07-18 Thread Óscar Frías Barranco
We are following the recommendations on http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching But I am afraid that whatever the headers some browsers will cache some files anyway so we really need a way to force a reload of the web application when RPC calls

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner
As far as trying to catch the rpc exception, you might try setting a global uncaught exception handler then seeing if you can trap them via that method. We have switched to using resty-gwt/json here and longer use the built in GWT-RPC serializer. You