I'm using gwt-maven-plugin and I works very well.
To add the Google project nature to the project you need to configure
your maven-eclipse-plugin like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven.eclipse.plugin.version}</version>
<configuration>
</additionalConfig>
<additionalProjectnatures>
<projectnature>com.google.gwt.eclipse.core.gwtNature</
projectnature>
</additionalProjectnatures>
<additionalBuildcommands>
<buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator</
buildcommand>
</additionalBuildcommands>
</configuration>
</plugin>
Regards,
Michael
On 19 avr, 12:45, Jan Ehrhardt <[email protected]> wrote:
> I'm currently working on a sample app for my GWT logging framework and it
> uses Maven.
>
> http://github.com/derjan1982/slf4gwt/tree/master/samples/
>
> It might be an example setup for you, allthough it's not finished yet. I'm
> using m2eclipse for development and everything works, except I've to enable
> GWT support on my projects
> (http://www.ducktools.org/2010/04/gwt-eclipse-tomcat.html) manually.
>
> Regards
> Jan Ehrhardt
>
> 2010/4/19 Subhrajyoti Moitra <[email protected]>
>
>
>
>
>
> > try this
>
> >http://mojo.codehaus.org/gwt-maven-plugin/
>
> > On Sun, Apr 18, 2010 at 11:25 PM, Steve <[email protected]> wrote:
>
> >> I'm getting very frustrated -- reading dozens of messages, faqs,
> >> whatever I can find on the subject, but I haven't found all the info I
> >> need in one place and haven't been able to piece it all together ...
> >> maybe I just missed it, but hopefully someone here can help.
>
> >> What I'd like to do ...
>
> >> Create a GWT project, use Maven instead of Ant to build. Be able to
> >> debug in DevMode, be able to "mvn package" and manually deploy my war
> >> to a container.
>
> >> Using Eclipse (3.5.2), m2eclipse, GPE 1.3.2 -- what do I need to do?
> >> What is the directory structure I need? Is there a maven archetype to
> >> create the directory structure?
>
> >> I tried the MavenAppRpc project. I was successful in building it and
> >> deploying the war to Tomcat. However, I could never get it to work in
> >> DevMode.
>
> >> Is there a 1-2-3 type tutorial available that can get me started?
>
> >> Thanks
>
> >> --
> >> 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]<google-web-toolkit%2Bunsubs
> >> [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]<google-web-toolkit%2Bunsubs
> > [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
> athttp://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.