Intellij 9.0 GWT in Hosted Mode
Hello Guys,
im new in use gwt.
I was trying run one gwt maven project in Idea 9.0, all goas fine.
When I try prepare GWT configuration to run get in hosted mode I got this error.
In Gwt configuration isnt something like classpath entry source, so im thinking why gwt console didnt pickup the source library from project.
When I run tomcat server configuration all goas fine.
Im trying run the GWt modul in hosted mode, so maybe right question is, Means Gwt Cnfiguration -> Gwt Hosted mode?
Sorry for my english.
Petr
请先登录再写评论。
Hello,
you're right, GWT Configuration in Run/Debug Configurations dialog is used to run GWT application in the Hosted Mode. Source entries should be
included into the classpath automatically by IDEA. You can check the command line used to start GWT Hosted Mode in Run toolwindow in IDEA. If it
doesn't include the source path please make sure that you've specified correct 'Module' in GWT Configuration.
>
>
>
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi thank for a Hint that intellij 9.0 is fully prepared for GWT.
I tested our project in Idea 10 and all goes fine, so that I wrote question.
After your post I figure it out.
This is maven project and have only one gwt module, and some class in Project Module Dependencies tab had scope as Provided, I changed it to compile and gwt hosted mode work well with normal Run/Debug options.
I run GWT Configuration with vmParameters -Xmx128m
I have trouble when I m running this over JRebel, I alwas get PermGen Space error
I try change vmParameters for GWt on 258, 512.
For JRebel Run/Debug startup in GWT Configuration try to add porperty -Xmx256m, but ddint helped.
In Project Structure Module GWT Servlet is property Compiler maximum heap size" this I have on 512.
Can you help me which property I have to increase.
Best regards Petr form CZ
You can use -XX:MaxPermSize=256m VM parameter to avoid PermGen Space error.
>
>
>
>
>
>
>
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thank it helped.
GWT over Intellij Idea 9.0 in Hosted mode under JRebel work.