Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsuccessfully trying to run this project to get a better understanding of gwtp #216

Open
gautamaino opened this issue Jul 30, 2016 · 4 comments

Comments

@gautamaino
Copy link

Hi,

I am trying to learn and use GWTP. So far I have been very comfortable with Mvp4g.

To get started I decided to check out arcbees public website codebase from https://github.com/ArcBees/arcbees-website . I removed the GAE plugin for deployment and added a couple of repos in my settings.xml and the project is building fine.

The issue is when I am trying to run the project its throwing an error in chrome console Unexpected token < and thats it. No error message / nothing.. Since the project looks very well written I anticipated a better quality error message. Also it doesn't have a configuration to launch a local starting page. I added / to the gwt-maven-plugin and could launch.

Can anyone help me, may be from arcbees team ?

thanks a ton.
Gautam

@olafleur
Copy link
Member

olafleur commented Aug 1, 2016

Hi @gautamaino !
Thanks for reaching out here to ask your question.

I would suggest starting with the basic archetype when learning the basics of GWTP.

We've made a few resources that may help you to learn GWTP.
Our how-to videos : https://www.youtube.com/playlist?list=PLZhavHtU3BmsnTvR9ZUwib2DK_mYHK2Yo
Our tutorials : http://dev.arcbees.com/gwtp/tutorials/index.html

Don't hesitate if you have any other questions.

@gautamaino
Copy link
Author

Hi Olivier,

Thanks for reverting back.

I would like to start with building a more complex and complete app and
thus the choice of your website since its a beautiful thing. I work with
MVP4g and lot and looking at GWTP as an alternative. I have tried a few
samples and have understood some of the basics. The code there looks
beautiful and promising.

I am a bit puzzled since the your website is a pure maven project and I
couldn't even run it with all the maven goals I tried. I added the required
configuration elements to build and successfully launch the HomeServlet
through the GWT launcher. Is there some magic that I should know to be able
to simply build and launch ?

Since I understand GWTP basics already pretty well I am trying my hand at
something more substantial before making a switch.

Please advise.

thanks,
Gautam

On Mon, Aug 1, 2016 at 7:23 AM, Olivier Lafleur [email protected]
wrote:

Hi @gautamaino https://github.com/gautamaino !
Thanks for reaching out here to ask your question.

I would suggest starting with the basic archetype when learning the basics
of GWTP.

We've made a few resources that may help you to learn GWTP.
Our how-to videos :
https://www.youtube.com/playlist?list=PLZhavHtU3BmsnTvR9ZUwib2DK_mYHK2Yo
Our tutorials : http://dev.arcbees.com/gwtp/tutorials/index.html

Don't hesitate if you have any other questions.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#216 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ_I7vrlSsU_pP2hvxf7nvBvvNbeKVExks5qbVF-gaJpZM4JYz9h
.

@olafleur
Copy link
Member

olafleur commented Aug 1, 2016

Since you removed the AppEngine part, I guess you could just start the project with
mvn gwt:run ?

@gautamaino
Copy link
Author

I did gwt:run after adding a runTarget configuration for root url i.e. / .. and the application starts .. but it never shows anything. Throws an exception in browser console Unexpected Token < .. Can't figure whats going wrong.. it runs the HomeServlet and produces the required html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants