I’m try configure gwt app for debug in Idea.
Seems there is no native support in Idea, so I try configure “Java application” manually.
I’m set:
Main class: com.google.gwt.dev.HostedMode
Vm parameters: -Xmx256m
Program parameters: -startupUrl test.html ru.shirtmaker.Test
Check to use classpath from current module.
But when I run app, get 404 error in hosted browser. When I see at generated directory structure, there is no needed test.html and other files.
Could somebody help with issue ?
I found the war path being posted by newer IntelliJ is /Users/myuser/Library/…. etc. It’s just plain wrong. There is no war there.
To fix it, do the following:
Under Dev Mode parameters, add the following:
-war /Users/myuser/source/MyGWTApp/war
This will override the one being passed in by IntelliJ to point to your dev folders. I’d like it to be either a relative path, or use an IntelliJ variable to use the current project path – I haven’t looked into this yet.