Saturday, December 12, 2020

Re: Running locally in Dev mode with Eclipse

Hi,

Check these pages: https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html

Best,
Stas

On Friday, November 20, 2020 at 5:29:44 PM UTC+1 tom.v...@skynet.be wrote:
Hi,

Did you install the ' Google Plugin for Eclipse ' as mentioned in the instructions in http://www.gwtproject.org/usingeclipse.html ?
 It leads you to https://cloud.google.com/eclipse/docs/migrating-gpe saying that this plugin is no longer supported. So you have to go for the GWT eclipse plugin as mentioned on that site. Without it, you won't have the option ' Debug As > Web Application.'

Personally, I am more a fan of the maven way and the tbroyer maven plugin :https://tbroyer.github.io/gwt-maven-plugin/
Also check out https://github.com/tbroyer/gwt-maven-archetypes/  for maven archetypes. You can easily create sample maven projects with these. Well documented.
The archetypes are made such that you run the devmode in the command prompt, while still able to do code changes in eclipse and getting them reflected through browser refresh.

Eclipse integrates with maven by default. You can even run maven builds in eclipse. If you go the maven way, your project is immediately ready to be taken up in some automatic build system. 

Hope this helps.

Greets,

Tom.
Op donderdag 19 november 2020 om 23:56:47 UTC+1 schreef ronaldob...@gmail.com:
Hello all,

I'm new to GWT and while following the Get Started page tutorial to install it I got stuck in the step "Run locally in Development mode with Eclipse", since there's no option showing for me in Eclipse to Debug As > Web Application.´

Thought it could be a problem of software packages for Eclipse, installed the Eclipse Web Developer Tools 3.19 from the Eclipse Marketplace, but still no Debug as Web Application option is available.

Besides this, everytime I try to run it from the build command from Command prompt in Windows I'm able to compile the project and get into Development Mode with the command "ant devmode", where I get the GWT Dev Mode window, but every time I try to launch the application in the browser I always get error 503, not being able to reach the file.

Could this be any missing step on the Get Started page like setting up the server side or some step I did wrong? Any hint would be appreciated.

Thanks for the help!

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ac169eaa-07c1-43a5-b5a8-6f4767a36c51n%40googlegroups.com.

No comments:

Post a Comment