Discussion:
2.8.2 SDM recompile button strange behaviour
Олег Рачаев
2018-08-17 12:15:32 UTC
Permalink
On GWT 2.8.2 SDM I've faced with very stange (for me) bahaviour of module's
recompile button.

It's not working when module have *only* *PopupPanel active on page*.
Is it normal or bug?

Module's example:


*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*

* PopupPanel pp = new PopupPanel(false,false);*
* pp.setWidget(new LoginView());*
* pp.center();*

* }*
*}*

The recompile buttons appears, then I press "Dev Mode On" booklet but
pressing "recompile buttons" does nothing (dialog with recompile is not
dissapering)!!!

With other module's code recompile button does its work fine:


*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*

* RootLayoutPanel.get().add(new LoginView());*

* }*
*}*
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Олег Рачаев
2018-08-21 10:10:24 UTC
Permalink
Searching a web I found the same issue:
http://google-web-toolkit.2317884.n4.nabble.com/SDM-with-modular-webapp-no-client-side-debugging-possible-td11237.html

Is't a bug? I feel it is. Is Anybody from GWT contributors are here? :)

пятМОца, 17 августа 2018 г., 16:15:32 UTC+4 пПльзПватель Олег Рачаев
Post by Олег Рачаев
On GWT 2.8.2 SDM I've faced with very stange (for me) bahaviour of
module's recompile button.
It's not working when module have *only* *PopupPanel active on page*.
Is it normal or bug?
*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*
* PopupPanel pp = new PopupPanel(false,false);*
* pp.setWidget(new LoginView());*
* pp.center();*
* }*
*}*
The recompile buttons appears, then I press "Dev Mode On" booklet but
pressing "recompile buttons" does nothing (dialog with recompile is not
dissapering)!!!
*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*
* RootLayoutPanel.get().add(new LoginView());*
* }*
*}*
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Thomas Broyer
2018-08-21 11:23:22 UTC
Permalink
It looks like a bug, but I believe most people are using the "auto compile
on load" hook rather than bookmarklets nowadays so they'll never hit this.
If you can, switch to that new (not so new, introduced in GWT 2.7) mode:
pass -launcherDir to the CodeServer, pointing to the folder served through
HTTP (for example, when running a Maven project using the
jetty-maven-plugin, that would be the target/myproject-1.0-SNAPSHOT/
folder); this is the same folder you'd pass as -war to DevMode (and
DevMode, since GWT 2.7, launches the CodeServer passing that -war dir as
the -launcherDir, in addition to serving it as an exploded-WAR webapp)
Post by Олег Рачаев
On GWT 2.8.2 SDM I've faced with very stange (for me) bahaviour of
module's recompile button.
It's not working when module have *only* *PopupPanel active on page*.
Is it normal or bug?
*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*
* PopupPanel pp = new PopupPanel(false,false);*
* pp.setWidget(new LoginView());*
* pp.center();*
* }*
*}*
The recompile buttons appears, then I press "Dev Mode On" booklet but
pressing "recompile buttons" does nothing (dialog with recompile is not
dissapering)!!!
*public class Test2 implements EntryPoint {*
* public void onModuleLoad() {*
* RootLayoutPanel.get().clear();*
* RootLayoutPanel.get().add(new LoginView());*
* }*
*}*
--
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+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Loading...