I am using IDEA 14 Ultimate edition for development of GWT application (GWT 2.7.0 SDK is used). I would like to run my application in GWT Super Dev Mode. So I created a GWT launcher configuration with "Super Dev Mode" checkbox selected.
When I run this configuration, the GWT code server will go up (i.e. I can access http://127.0.0.1:9876/), but when I access the URL of my GWT module, it is about to open and I get pop-up message "GWT module 'login' may need to be (re)compiled". When I click to OK, nothing more happen - no GWT compilation of my module happens, there is no message box with compiling message, everything just hangs.
This is truncated output I am getting (info level logging) in Intelij output:
Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -launcherDir, /Users/vlape02/Library/Caches/IntelliJIdea14/gwt/workspace-latest-idea.c8dd3036/launcher-ui.f61547b4/run/www, -logLevel, INFO, com.ca.wcc.commons.Commons, com.ca.wcc.login.Login, com.ca.wcc.launcher.Launcher]
Super Dev Mode starting up
workDir: /var/folders/f3/zt40l6zn4_5bqnjmx04dt4040000gn/T/gwt-codeserver-456831923559260731.tmp
Loading Java files in com.ca.wcc.commons.Commons.
.... .... ... 
Module setup completed in 26560 ms
Loading Java files in com.ca.wcc.login.Login.
Module setup completed in 3185 ms
Loading Java files in com.ca.wcc.launcher.Launcher.
Module setup completed in 5077 ms
The code server is ready at http://127.0.0.1:9876/
Code server started in 34866 ms
waited 23916 ms for code server to finish
Dev Mode initialized. Startup URL:
http://127.0.0.1:8888/Login.html
In the DEBUG log of my run of GWT application I can see more messages coming from the start of code server (no error messages there) but I can see nothing related to compilation of my module - neither progress messages, nor error messages.
It just seems that my module pages cannot trigger or are not triggering the compile request. I would expect that when I access the page the output in Intellij will look like the following:
GET /recompile/login 
Job com.ca.wcc.login.Login_3_0 
starting job: com.ca.wcc.login.Login_3_0 
binding: gxt.user.agent=chrome 
binding: user.agent=safari 
binding: user.agent.os=mac 
Compiling module com.ca.wcc.login.Login 
Ignored 1 unit with compilation errors in first pass. 
... and so on...
This output is what my colleague is getting using the same sources and project structure as well as the same GWT and Intellij version.
Another observation is that if I run the project in classical GWT "dev mode", it works. The strange thing is that I would expect that GWT 2.7 (which I am using) should force super dev mode instead of dev mode by default. However, I can access the application only using the browser with GWT dev mode plugin installed.
Just to note, if I run sample GWT application in Intellij with Super dev mode, it is running ok.
Is there any configuration or log where I can take a look in to find out what is the root cause?
Thank you in advance for any hint or tip.
Regards
Petr
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment