Can anyone provide a step by step maven + gwt mvp tutorial?

195 views
Skip to first unread message

crojay78

unread,
May 5, 2010, 6:45:54 PM5/5/10
to Google Web Toolkit
Hi,

now that I have a bit experience with gwt in mvp style, I am looking
for an example for using maven as build tool for gwt, I found a few
posts here and on other sources but nothing made it really clear for
me. I have to say that I am new to maven.

I installed maven and also installed the maven gwt eclipse plugin. I
was able to create a project with the gwt archetype and configured it
for eclipse with mvn eclipse:eclipse (both form the command line). The
creation of a new maven project from inside eclipse does not work.


So this is my situation. My aim is that I can create in a fast way a
valid gwt project (this is possible now with the archetype). Then I
have to do the changes so that I have an MVP project. Or does an
archetype exist that creates an mvp like structure???


So from this point I do not know how to proceed??? Can somebody show
me how to work with this new project.

How can I build it and use the developement mode in eclipse?
Hopefully somebody can help me with that....


Best Regards

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Manuel Carrasco Moñino

unread,
May 6, 2010, 2:29:11 AM5/6/10
to google-we...@googlegroups.com
Hello,

- There is an outdated archetype which creates a very simple Gwt
project without tests nor RPCs. Unfortunately the generated pom.xml is
for old gwt versions and needs that you do a bunch of changes by hand.
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo \
-DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=1.1 \
-DgroupId=com.foo -DartifactId=myApplication

- Lately I have sent a patch to gwt which adds the ability to generate
pom.xm to webAppCreator. But the patch is under review and it wont be
available until a new gwt version (in the case it is included).
http://gwt-code-reviews.appspot.com/397801/show

- So, I recommend you to get the pom.xml from a working application
and use it as a template for your project.
Some days ago, I ported the google contacts example application in
order to use available libraries for MVP and add tests for all the
code. I think It should be a good point for starting your project:
http://gwt-workshop.googlecode.com/files/GwtWsMvpContacts.zip


Cheers
-Manolo

olivier nouguier

unread,
May 6, 2010, 3:29:40 AM5/6/10
to google-we...@googlegroups.com
Hi,
 There is there a example of what your are looking for (I guess ;) 

But there is also a spring && spring security integration.

HIH
  

On Thu, May 6, 2010 at 12:45 AM, crojay78 <croj...@googlemail.com> wrote:



--
"Computers are useless. They can only give you answers."
- Pablo Picasso -
Reply all
Reply to author
Forward
0 new messages