Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1054797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:27:44+00:00 2026-05-16T17:27:44+00:00

Over the past few days I have been trying to create/run a project in

  • 0

Over the past few days I have been trying to create/run a project in Eclipse using the gwt-maven-plugin and keep running into roadblocks (see some of my previous questions). I like to use Maven to do my builds, but I’m at the point where I’m thinking of going the Ant build route because of the complications of using Maven.

Does anyone out there have it configured/working well? Is it just me or is this harder than it should be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:27:44+00:00Added an answer on May 16, 2026 at 5:27 pm

    After much frustration trying to get things to play nicely together, this is the setup I have that “works” for me. “Works” meaning that I can create, run and debug a GWT project with tweaks, but it isn’t the most elegant solution.

    Create Project

    Much of the steps are the same as Pascal’s answer in this post: Maven GWT 2.0 and Eclipse. I’ll list mine out to be clear.

    In Eclipse (Helios) with m2eclipse and GWT Eclipse plugins installed:

    Create a new Maven project using the gwt-maven-plugin archetype

    Modify the pom.xml:

    • set <gwt.version property> to 2.0.4
      (needs to be same as GWT Eclipse
      Plugin version)
    • set <maven.compiler.source> and
      <maven.compiler.target> properties to
      1.6
    • remove <goal>generateAsync</goal>
      from gwt-maven-plugin <plugin> config
    • add maven-war-plugin to pom.xml

    maven-war-plugin example:

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
        <warSourceDirectory>war</warSourceDirectory>
            <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
        </configuration>
    </plugin>
    

    Update project Properties:

    • Google -> Web Toolkit, check the “Use Google Web Toolkit” box, and ensure “Use default SDK (GWT-2.0.4) is selected.

    Run Maven “gwt:eclipse” goal on project (sets up environment and launch config)

    Copy *.launch file to workspace.metadata.plugins\org.eclipse.debug.core.launches

    Restart Eclipse

    Compile/Run Project

    I created a Run Configuration that does mvn clean compile gwt:run. The gwt:run is necessary to copy the resources and lib jars into the war directory. However, it does not copy the web.xml from src/main/webapp/WEB-INF into war/WEB-INF/. So, I have to manually copy that file.

    If I want to run my application, the above step is sufficient. However, if I want to debug the application, I launch it by choosing the Google “Web Application” configuration from Debug Configurations that was created when the .launch file was copied previously. This configuration allows for debugging (breakpoints etc.) without any other config or need for remote debugging.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For the past few days I have been trying to play any sound over
Over the past few days, I have been trying to find an answer to
Have been learning ASP.NET (using C#) over the past few days. I have made
I have been working with Mahout in the past few days trying to create
There have been several questions over the past few days about the proper use
I have been pulling my hair out over the past few days with a
I have been playing around with Visual Studio 2010 over the past few days
I've been asking a lot of questions here over the past few days trying
I have been building my own carasol over the past few days. My Jquery
I have been using Quartz.NET in my application a lot over the past few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.