Intellij 9 with GWT 1.7 or GWT 2 - how to setup correctly

Hello,

I would like to setup a project in a way that changes in files are picked up.

I tried setting up a new Java Project, adding GWT support, creating sample application as shown in the Jetbrains video.

It starts up both with GWT 1.7 and 2. The first one with the internal browser and the second one with the exernal browser.

I have to restart the application every time to have changes picked up. Is there a way to do this without restarting?

Best Regards

Sebastian

---
Original message URL: http://www.jetbrains.net/devnet/message/5252861#5252861

5 comments
Comment actions Permalink

There is the known problem with updating html files in Hosted Mode (see http://youtrack.jetbrains.net/issue/IDEADEV-42013). However updating html
files in production mode should work (you can use Update Running JavaEE Application action (Ctrl+F10) for that).

Hello,

I would like to setup a project in a way that changes in files are picked up.

I tried setting up a new Java Project, adding GWT support, creating sample application as shown in the Jetbrains video.

It starts up both with GWT 1.7 and 2. The first one with the internal browser and the second one with the exernal browser.

I have to restart the application every time to have changes picked up. Is there a way to do this without restarting?

Best Regards

Sebastian

---
Original message URL: http://www.jetbrains.net/devnet/message/5252861#5252861



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hello Nikolay!

I have tried to delete my POST as the problem was actually solved.

Naturally only client side code is picked up immediately.

But your answer is still very useful.

Using a default GWT setup, there is no 'Update Running JavaEE Application'. The shortcut cmd+F10 (Mac) doesn't do anything as well.

I didn't know this command, thanks for that but just run again the application.
In normal Java application, I am able to run the application again and Intellij tells me that the application is already running and asks, if I want to redeploy.

Why is the action not there and shouldn't the normal run again work as well?

Best Regards

Sebastian Hennebrueder
http://www.laliluna.de

0
Comment actions Permalink

These 'Update' and 'Rerun' actions works only for app server run configurations. However it makes sense to implement them for GWT Hosted Mode run
configurations too.

Hello  Nikolay!

I have tried to delete my POST as the problem was actually solved.

Naturally only client side code is picked up immediately.

But your answer is still very useful.

Using a default GWT setup, there is no 'Update Running JavaEE Application'. The shortcut cmd+F10 (Mac) doesn't do anything as well.

I didn't know this command, thanks for that but just run again the application.
In normal Java application, I am able to run the application again and Intellij tells me that the application is already running and asks, if I want to redeploy.

Why is the action not there and shouldn't the normal run again work as well?

Best Regards

Sebastian Hennebrueder
http://www.laliluna.de

---
Original message URL: http://www.jetbrains.net/devnet/message/5252890#5252890



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Are there any plans to improve the support for the new UiBinder functionality of GWT 2.0?

Code completion doesn't really work well for example.

0
Comment actions Permalink

App server setup means that I pack an artifact to Jetty/Tomcat. Wouldn't this break automatic reloading for the plugin?

If not, then this setup is actually the perfect approach.

I have immediate reloading on the client site + fast project restart.

I would appreciate, if you comment on this.

Thanks for your feedback so far.

Best Regards

Sebastian Hennebrueder

0

Please sign in to leave a comment.