Tuesday, October 31, 2017

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

Hi Thomas,

Many thanks for your time and answer! I was indeed playing with the legacy plugin ... :)  Things work much better now. The super dev mode is really great by the way.

I used your plugin and revamped slightly the client project (moved my main mymodule.gwt.xml to /src/main/java/module.gwt.xml and all my sources to /src/main/java). I'm then running code server with launcherDir arg pointing to my php root.

As for the downside of overriding nocache.js, I think the ideal process of deploying is compiling within a CI chain so it won't matter at all :)

Many thanks again,

Ludovit

Le mardi 31 octobre 2017 11:41:31 UTC+1, Thomas Broyer a écrit :


On Tuesday, October 31, 2017 at 10:31:39 AM UTC+1, Martones wrote:
Hey guys,

I'm trying to migrate my app which looks like this : 
GWT 2.5.1 front, PHP back, no maven -> GWT 2.8.2 front, PHP back, maven with gwt-maven-plugin.

I manage to mvn gwt:compile and mvn gwt:run-codeserver.

I actually think I'm confused about how the SDM runs now in 2.7+ but here is what I was thinking : 
  1. Run compile (optional ? ) via mvn gwt:compile
  2. Run code server via mvn gwt:run-codeserver
  3. Save the bookmarklet and compile via the popup on my gwt page 
  4. re-compile on every code change manually

In 2.7+, you can do:
  1. Run code server with -launchDir pointing to the directory served by your server
(there's no other step, code server will automatically compile/recompile on page load)
With Mojo's plugin (you did notice the maintainer now "strongly encourage[s you] to use the new [plugin]" though, right? see https://gwt-maven-plugin.github.io/gwt-maven-plugin/ ), that's <launcherDir> and <webappDirectory>.

The only downside is that code server when run this way will overwrite the mymodule.nocache.js, so make sure you recompile the app before packaging/deploying (gwt-maven-plugin staleness check might be confused, so "mvn clean", or force recompilation with -Dgwt.compiler.force)

The third point is the one that isn't working anymore (was ok in 2.5.1). In the popup I have :

mymodule : off This module doesn't have Super Dev Mode enabled.

Here is my module file: removed all the SDM lines that I understood are now useless, doesn't work anyway if I keep them :)


<module rename-to='mymodule'>
 
<!-- Inherits -->
       
<!-- ... -->

 
<!--  Entry point -->
 
<entry-point class="com.mycompany.mymodule.client.mymodule"></entry-point>

 
<!-- paths -->
 
<source path='client' />
 
<source path='shared' />

 
<!--  SDM  -->
 
<!-- <add-linker name="xsiframe"/>
 
  <set-configuration-property name="devModeRedirectEnabled" value="true"/>
 <set-property name="compiler.useSourceMaps" value="true"/> -->

 
 
<set-configuration-property name="CssResource.conversionMode"    value="strict" />
</module>


I'm serving my php page from a docker container on my localhost (so no HTTPS).

Any help is much appreciated :)

Ludovit

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: RequestBuilder, safely send data to server

HI Thomas, are the GWT methods XsrfProtectedService on client side and XsrfProtectedServiceServlet on server side still experimental? The GWT documentation has described csrf protection in detail using them... Can I follow that?

On Thursday, 2 March 2017 17:19:11 UTC+2, Thomas Broyer wrote:


On Thursday, March 2, 2017 at 8:01:18 AM UTC+1, gitzzz wrote:
Hi! I use RequestBuilder for client-server communication. And I have some questions:

For example we make http request to ".../get.php"(function(), select some data from DB and send it back).  Response is an array[1,2,3,4,5]

On client side onTheButtonClick we can change the data, the new_array[1,3,6,8,9], and now we need to send this changes to DB. And onSaveButtonClick() we make http post request to ".../set.php" with parameters = new_array

The question is: does it safe? Is it possible that anybody authed user can make this call by creating JS script with http post request and send his own(fake) data?(e.g. fake_array[10,20,30,23,12]) without clicking a button. How can I send change data from client side to a server safely?

What you're describing is a Cross-Site Request Forgery (CSRF) attack and is absolutely possible.
Your server code needs to check the origin of the request to prevent them (if there's an Origin header, use it, otherwise use the Referer header; check that the scheme, hostname and port match the current request –or any origin you decide to trust for issuing such requests–; and if there's neither you should refuse the POST request, but you should know that some corporate proxies remove Referer headers, so without HTTPS to prevent this man-in-the-middle situation you're going to need CSRF "tokens" and this is a bit painful to manage correctly).
See https://www.w3.org/TR/cors/ for the gory details.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

GWT csrf protection

Gwt Documentation http://www.gwtproject.org/doc/latest/DevGuideSecurityRpcXsrf.html as well as GWT IN action https://manning-content.s3.amazonaws.com/download/d/07888ea-bada-44cc-9c55-ead15ea7fe85/GWT_sample-07.pdf recommend extending XsrfProtectedService on client side and XsrfProtectedServiceServlet on server side....

But both thse methods are still marked as "EXPERIMENTAL and subject to change. Do not use this in production code. "

What gives? is this a leftover - or are they now safe to use in production?

Thanks for your help in advance!

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode



On Tuesday, October 31, 2017 at 10:31:39 AM UTC+1, Martones wrote:
Hey guys,

I'm trying to migrate my app which looks like this : 
GWT 2.5.1 front, PHP back, no maven -> GWT 2.8.2 front, PHP back, maven with gwt-maven-plugin.

I manage to mvn gwt:compile and mvn gwt:run-codeserver.

I actually think I'm confused about how the SDM runs now in 2.7+ but here is what I was thinking : 
  1. Run compile (optional ? ) via mvn gwt:compile
  2. Run code server via mvn gwt:run-codeserver
  3. Save the bookmarklet and compile via the popup on my gwt page 
  4. re-compile on every code change manually

In 2.7+, you can do:
  1. Run code server with -launchDir pointing to the directory served by your server
(there's no other step, code server will automatically compile/recompile on page load)
With Mojo's plugin (you did notice the maintainer now "strongly encourage[s you] to use the new [plugin]" though, right? see https://gwt-maven-plugin.github.io/gwt-maven-plugin/ ), that's <launcherDir> and <webappDirectory>.

The only downside is that code server when run this way will overwrite the mymodule.nocache.js, so make sure you recompile the app before packaging/deploying (gwt-maven-plugin staleness check might be confused, so "mvn clean", or force recompilation with -Dgwt.compiler.force)

The third point is the one that isn't working anymore (was ok in 2.5.1). In the popup I have :

mymodule : off This module doesn't have Super Dev Mode enabled.

Here is my module file: removed all the SDM lines that I understood are now useless, doesn't work anyway if I keep them :)


<module rename-to='mymodule'>
 
<!-- Inherits -->
       
<!-- ... -->

 
<!--  Entry point -->
 
<entry-point class="com.mycompany.mymodule.client.mymodule"></entry-point>

 
<!-- paths -->
 
<source path='client' />
 
<source path='shared' />

 
<!--  SDM  -->
 
<!-- <add-linker name="xsiframe"/>
 
  <set-configuration-property name="devModeRedirectEnabled" value="true"/>
 <set-property name="compiler.useSourceMaps" value="true"/> -->

 
 
<set-configuration-property name="CssResource.conversionMode"    value="strict" />
</module>


I'm serving my php page from a docker container on my localhost (so no HTTPS).

Any help is much appreciated :)

Ludovit

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Migrating from GWT 2.5.1 to 2.8.2 - Problem with Super dev mode

Hey guys,

I'm trying to migrate my app which looks like this : 
GWT 2.5.1 front, PHP back, no maven -> GWT 2.8.2 front, PHP back, maven with gwt-maven-plugin.

I manage to mvn gwt:compile and mvn gwt:run-codeserver.

I actually think I'm confused about how the SDM runs now in 2.7+ but here is what I was thinking : 
  1. Run compile (optional ? ) via mvn gwt:compile
  2. Run code server via mvn gwt:run-codeserver
  3. Save the bookmarklet and compile via the popup on my gwt page 
  4. re-compile on every code change manually
The third point is the one that isn't working anymore (was ok in 2.5.1). In the popup I have :

mymodule : off This module doesn't have Super Dev Mode enabled.

Here is my module file: removed all the SDM lines that I understood are now useless, doesn't work anyway if I keep them :)


<module rename-to='mymodule'>
 
<!-- Inherits -->
       
<!-- ... -->

 
<!--  Entry point -->
 
<entry-point class="com.mycompany.mymodule.client.mymodule"></entry-point>

 
<!-- paths -->
 
<source path='client' />
 
<source path='shared' />

 
<!--  SDM  -->
 
<!-- <add-linker name="xsiframe"/>
 
  <set-configuration-property name="devModeRedirectEnabled" value="true"/>
 <set-property name="compiler.useSourceMaps" value="true"/> -->

 
 
<set-configuration-property name="CssResource.conversionMode"    value="strict" />
</module>


I'm serving my php page from a docker container on my localhost (so no HTTPS).

Any help is much appreciated :)

Ludovit

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Monday, October 30, 2017

elemental2 and create object url?

How do I access URL.createObjectUrl(Blob) using elemental2?

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Element may only contain a single child element, but found (:3)

When removing all the details of your UiBinder the file looks like:


<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
 
xmlns:g="urn:import:com.google.gwt.user.client.ui">

 
<ui:with type="com.folder.client.resources.Css" field="CSS" />
 
<ui:with type="com.folder.client.resources.Strings" field="STRINGS" />

 
<ui:style type="com.folder.client.presenters.main.common.dialog.HelpDialog.LocalStyle">
    // ....
 
</ui:style>
 
  // the first root element inside
<ui:uibinder>
 
<g:HTMLPanel ui:field="uiPanelOptions" >

 
</g:HTMLPanel>

  // the second root element inside
<ui:binder>
 
<g:HTMLPanel ui:field="uiPanelFooter">

 
</g:HTMLPanel>


</ui:UiBinder>


With UiBinder you can only have a single Widget / Element inside the <ui:UiBinder> tag. You would need to wrap your two HTMLPanels with a third one. The reason is that in your Java code the call to uibinder.createAndBindUi(this) returns this single Widget / Element. So you can not have two root Widgets / Elements.

-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Element may only contain a single child element, but found (:3)

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">

<ui:with type="com.folder.client.resources.Css" field="CSS" />
<ui:with type="com.folder.client.resources.Strings" field="STRINGS" />

<ui:style
type="com.folder.client.presenters.main.common.dialog.HelpDialog.LocalStyle">
.title {
padding-top: 30px;
padding-bottom: 20px;
padding-left: 80px;
padding-right: 80px;
color: #555555;
text-align: center;
font-weight: 700;
font-size: 30px;
font-family: 'Titillium Web', sans-serif;
padding-bottom: 20px;
}
.scroll {
max-height: 280px;
overflow-x: hidden;
overflow-y: auto;
}
.options {
width: 100%;
color: #555555;
text-align: center;
font-weight: 400;
font-size: 24px;
font-family: 'Titillium Web', sans-serif;
margin-left: auto;
margin-right: auto;
padding-left: 40px;
padding-right: 40px;
padding-bottom: 20px;
}
.options li {
text-align: left;
}
.options>div {
text-align: center;
padding-bottom: 40px;
}
.option-divider {
position: relative;
display: inline-block;
height: 20px;
top: 15px;
border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.image {
width: 60px;
height: 60px;
margin: 10px;
margin-right: 20px;
}
.dialog {
width: 620px;
height: 300px;
min-height: 300px;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
.content {
padding: 0px !important;
}
</ui:style>

<g:HTMLPanel ui:field="uiPanelOptions" >
<g:FocusPanel ui:field="uiPanelWelcomeTutorial" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Welcome Tutorial</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelGettingStarted" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Getting Started</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelAppointmentManagement" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Appointment Management</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelClientMangement" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Client Mangement</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelStaffManagement" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Staff Management</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelIntegrationSetup" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Integration Setup</g:Label>
</g:FocusPanel>
<g:FocusPanel ui:field="uiPanelTechnicalSetup" styleName="{style.options}">
<g:Image styleName="{style.image}" url="res/images/user_b.png" width="60px" height="60px" />
<g:Label>Technical Setup</g:Label>
</g:FocusPanel>
</g:HTMLPanel>
<g:HTMLPanel ui:field="uiPanelFooter">
<g:FocusPanel ui:field="uiPanelGetHelpOnline" styleName="{style.options}" width="50%">
<g:Label>Get Help Online</g:Label>
</g:FocusPanel>
<div class="{style.option-divider}" />
<g:FocusPanel ui:field="uiPanelSendFeedback" styleName="{style.options}" width="50%">
<g:Label>Send Feedback</g:Label>
</g:FocusPanel>
</g:HTMLPanel>

</ui:UiBinder> 



I while running this got following error

Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
         Computing all possible rebind results for 'com.booxi.client.presenters.main.common.dialog.HelpDialog.HelpDialogViewUiBinder'
            Rebinding com.booxi.client.presenters.main.common.dialog.HelpDialog.HelpDialogViewUiBinder
               Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
                  [ERROR] Element may only contain a single child element, but found <g:HTMLPanel ui:field='uiPanelOptions'> and <g:HTMLPanel ui:field='uiPanelFooter'>.: <ui:UiBinder> (:3)
         [ERROR] Errors in 'com/booxi/client/presenters/main/common/dialog/HelpDialog.java'
            [ERROR] Line 45: Failed to resolve 'com.booxi.client.presenters.main.common.dialog.HelpDialog.HelpDialogViewUiBinder' via deferred binding
         [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
            [WARN] com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl
         Unification traversed 465 fields and methods and 286 types. 5 are considered part of the current module and 5 had all of their fields and methods traversed.
         [WARN] Some stale types ([com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl_GenBundle_en_InlineClientBundleGenerator$styleInitializer, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl$Widgets, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl_GenBundle_en_InlineClientBundleGenerator$1, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl_GenCss_style, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl_GenBundle, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl, com.booxi.client.presenters.main.common.dialog.HelpDialog_HelpDialogViewUiBinderImpl_GenBundle_en_InlineClientBundleGenerator]) were not reprocessed as was expected. This is either a compiler bug or a Generator has legitimately stopped creating these types.
      [ERROR] Compiler returned false
      [WARN] recompile failed
      [WARN] continuing to serve previous version


why it says  Element may only contain a single child element, but found <g:HTMLPanel ui:field='uiPanelOptions'> and <g:HTMLPanel ui:field='uiPanelFooter'>.: <ui:UiBinder> (:3)?

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Friday, October 27, 2017

Re: Need help with JsonpRequestBuilder

Hi omsrobert,
I am trying get simple JSONP example. Can you please let me know how you set callback?
Since I also did that in URL as well as using "setCallbackParam" method, but no luck. Still timeout error.

I see request going through in firebug and has "&callback=__gwt_jsonp__.P0.onSuccess" appended with URL automatically.

Thank you
Anita

On Tuesday, March 2, 2010 at 11:34:10 PM UTC-5, omsrobert wrote:
I got it to work.  I had to set the callback param and use
requestObject() with a type of JavaScriptObject instead of String.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: GWT 2.8.2 release

We also have a new regression with 2.8.2.
We have some problems with String[] as generics argument, we will try to develop a test 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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Bizzare "[ERROR] Invalid module name" Bug Upon Launching Dev Server

That happens to me when removed the dependencies in the plugin. I was using maven to organize the project, then by error, I removed the dependencies block inside the gwt-maven-plugin in the build part.




El martes, 18 de octubre de 2011, 22:47:47 (UTC+2), Simon escribió:
This is without a doubt one of the most bizzare/inexplicable issues
I've experienced since I've begun programming.

I'm developing a multi-module GWT project that formerly had one of its
modules contained entirely within a JAR file.  I decided that this
particular module (the "com.allen_sauer.gwt.dnd.gwt-dnd" module, to be
specific) needed more work, so I extracted it from its JAR, removed
said JAR from the project's classpath/ build path, and proceeded to
insert all the relevant Java packages and the .gwt,xml file into the
"src" directory of my Eclipse project (where the rest of my modules
currently live), ensuring to retain exactly the same directory
hierarchy the module had while it was contained in the JAR.

When I tried to run the project as a local Java Development server
from Eclipse, it immediately crashed with an error that read:

Loading modules
   com.allen_sauer.gwt.dnd.gwt-dnd
      [ERROR] Invalid module name: 'com.allen_sauer.gwt.dnd.gwt-dnd'
[ERROR] shell failed in doStartup method

Although I proceeded to attempt to troubleshoot this problem by double-
checking my work and trying various ways to achieve my goal of
bringing the gwt-dnd's source into my project without creating this
error, the error remains.

Here's where the plot thickens:  eventually I just used my SVN
server's revert command to restore my project back to exactly the way
it was working before attempting to bring the other JAR's module into
the main body of my project.  Surprisingly, when I tried to run it,
the " Invalid module name" error remained just as if I hadn't reverted
the project at all!  Interestingly enough, when I pulled a fresh copy
of that same project down from SVN, the error was gone and my project
ran just as well as it always had.

Determined to get to the bottom of this issue, I closed Eclipse and
used BeyondCompare3 to do a binary folder comparison between the
"broken" reversion and the working clean copy.  Although there were
subtle, minor differences between the two (mainly in the log files and
generated timestamps), I copied all these minor changes from the clean
copy back into the broken one.  Now, with both of these projects
BINARILY IDENTICAL, I re-opened Eclipse and lo-and-behold, the broken
project still gives me that same Invalid Module Name error and the
clean copy still works!

Because all the relevant project settings and properties files are
contained within the project directory in Eclipse,I'm at a total loss
on this one, does anyone have any suggestions or guidance?

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Thursday, October 26, 2017

Re: GWT 2.8.2 release

Hi Philippe,

Without a full error message, it sounds like dev mode might have been turned on at some point while you were building, so the compiler has its output replaced by the dev mode version (which failed when iy couldn't find a server). Can you try again, but do a full clean build this time to be sure that only production JS makes its way into your war file?

No changes are required when moving to GWT 2.8.2 from 2.8.1, as long as you've taken a look at the release notes and are aware of those details.

On Thursday, October 26, 2017 at 12:20:16 PM UTC-5, Philippe Gonze wrote:
Thank you for this new version!

We immediately tested this 2.8.1 and checked that everything works as expected in development mode.
However we experienced a strange and blocking deployment problem:
- compilation with unchanged settings (xml files, compilation settings ... exactly as with 2.8.1)
- deployment on tomcat (8.0.36)
- ... then browsing the deployed version fails, a message mentioning that no development (!) service runs (on the production server!). 

Very strange. Something in the compilation produced a development context instead of a production context.

Getting back to 2.8.1. solved the problem...

Should we update some compilation settings ?

Waiting for a solution to this problem to move again to 2.8.2.

Best regards,

Fil



Le jeudi 19 octobre 2017 23:32:21 UTC+2, Wesley.JUNG a écrit :
Thanks

On Thursday, October 19, 2017 at 4:30:49 PM UTC-4, Colin Alworth wrote:
Today we released the next version of GWT, version 2.8.2. A few quick highlights from this new release:
  • GWT can now run on Java 9 (though Java 9 features are not yet supported, coming soon!)
  • Chrome 61 change in getAbsoluteTop/Left has been fixed
  • Errors on the page reported from window.onerror are now reported to your uncaught exception handler
  • GWT now generates CSP compliant dom elements

The release notes can be found at http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_2. Get yours from Maven Central, or from the zip release.


Special thanks to Max Barkley of RedHat who helped lead the release effort this time, and to all of the fantastic testers who helped us ensure that this release was ready to go.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.