how to run a project

92 views
Skip to first unread message

Chen Xiaobin

unread,
Apr 21, 2016, 11:52:39 AM4/21/16
to GWTP
Hi, 
I am new to GWTP  and learning to use it. I am using GWTP plugin for eclipse.

After creating a new GWTP project. I can't run it the same way as when I was using GWT. 
With GWT projects, I can simply choose run/run as/ Web Application (Super dev mode).
But with GWTP projects, I did run/run as/maven build... and enter gwt:run in the "goal" textbox.
It runs and gives me the GWT Development Mode window, on which I can click the "Launch Default Browser" button and see the Hello world program running.

My question is am I doing the right thing? I just need to test running the automatically generated program and learn to use GWTP. Are there other ways people use to test running their applications in something similar to GWT's "development mode"? Or this is already the development mode?

Sorry for the stupid question! I know nothing about maven.

Best,
Xiaobin 

Olivier Lafleur

unread,
Apr 24, 2016, 10:13:27 PM4/24/16
to GWTP
Hi Chen,

it's not a stupid question at all!

Yes, you are running everything correctly, as far as I can tell.

If you are using one of our latest archetypes (with GWT 2.7+), you are already running SuperDev Mode, yes.

To learn more about GWTP, I would advise you to read our tutorial series here :
http://dev.arcbees.com/gwtp/tutorials/index.html

Also, feel free to check Arcbees YouTube channel and our blog for more how-tos and tutorials.

Don't hesitate to ask if you have other questions !

Olivier

Waldemar Jacek Kuranc

unread,
Apr 26, 2016, 5:57:26 PM4/26/16
to GWTP
I am beginer too. After two months, investigating everything by myself, i found this forum. I am  making my first project and i had the same troubles when building a project using the wizard from Elcipse->File->new-> GWTP Project. 

I could run this as maven appengine:devserver but i couldn't foce it to show in Eclipse project menu Run As -> Web Application.
I have tried almost everything, changed in eclipse, changed pom, nothing worked

Try to do this my way. Run as maven build, and in launch configuration window, set Goals: appengine:devserver. It works simmilar, but u have to manualy copy adresses of devserwer to browser (dont have DevMode tab).

Of course, you can build a project using one of ArcBees maven archetypes, and then there is menu Run As -> Web Application (after u set correct options in web toolkit settings).

--
Waldemar

Stefan Falk

unread,
Jun 18, 2016, 6:57:17 AM6/18/16
to GWTP
I can recommend looking at this code: https://github.com/GwtMaterialDesign/gwt-material-demo

It's a GWT library but the developer is using GWTP as well. It's nicely written and a good practical example. I found that the GWTP documentation is a bit too theoretical for my taste. 

BR; Stefan
Reply all
Reply to author
Forward
0 new messages