Results 1 to 2 of 2

Thread: How to remove GWT and go back to Spring MVC

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    29

    Default How to remove GWT and go back to Spring MVC

    I had a working (very simple) Roo project that I was happy with. Then I made the mistake of trying to add a GWT front end because it was supposed to be as easy as "gwt setup". Long story short, the project could not even compile once I ran "gwt setup", so I decided to remove it and go back to Spring MVC.

    I could not find any posts on this in the forum, so I thought I would offer up the steps I used to remove GWT. A simple "gwt remove" command would be a nice addition to Roo.

    1. Delete all generated source from src/main/java/**/gwt
    2. Remove GWT dependencies from pom.xml
    3. Remove GWT servlet from web.xml
    4. In webmvc-config.xml, change

    Code:
    <mvc:view-controller path="/" view-name="/ApplicationScaffold.html"/>
    to
    Code:
    <mvc:view-controller path="/" view-name="index"/>
    5. From the Roo console, run: perform clean
    6. mvn tomcat:run

    Thanks

  2. #2
    Join Date
    Feb 2011
    Posts
    1

    Default Running into some issues

    I was running into a similar issue when I was trying to remove GWT from my project. The post helped me a lot.

    what I figured out can be removed completely are following folders in the top package directory:

    client
    server
    shared

    but be careful if you have for example build you controller within one of those directories you shouldn't delete them....

    It's just a small hint, because I was running into a log of compile errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •