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 On Thu, May 6, 2010 at 12:45 AM, crojay78 <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
