Spring Roo
  1. Spring Roo
  2. ROO-1122

gwt project won't import properly in eclipse with m2eclipse, has errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: GWT
    • Labels:
      None
    • Environment:
      Fedora 13, eclipse 3.5, m2eclipse plugin, gwt 2.1m2

      Description

      Generate a new project with
      ===
      project --topLevelPackage com.ma.hi
      //persistence setup --provider DATANUCLEUS --database HYPERSONIC_PERSISTENT
      persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE

      //data model
      entity --class ~.server.domain.Person
      field string --fieldName firstName
      field string --fieldName lastName
      field date --fieldName birthDay --type java.util.Date

      entity --class ~.server.domain.Address
      field string --fieldName street
      field string --fieldName zip
      field string --fieldName city

      entity --class ~.server.domain.Country
      field string --fieldName isoCode
      field string --fieldName name

      gwt setup
      quit
      ===

      According to http://jira.springframework.org/browse/ROO-544 , from Eclipse do Import -> Maven -> Existing Maven Projects.

      Right click on project -> Google -> Web Toolkit settings. Use Web Toolkit checkbox is off, should have been on. Same for project -> Google -> App Engine settings

      Other issues, should I report more bugs?
      1. AddressDetailsViewBinder.java has error AddressDetailsViewBinder.ui.xml is missing (indeed, only AddressDetailsView.ui.xml is present)
      2. Project -> Run As -> Web Application will give "Could not find any host pages in project:". The fix listed at http://forum.springsource.org/showthread.php?t=89612 didn't work, as Maven was already managing dependencies.

      Thanks

        Activity

        Hide
        Ben Alex added a comment -

        Alan, would you please take a look at this one.

        Show
        Ben Alex added a comment - Alan, would you please take a look at this one.
        Hide
        Alan Stewart added a comment -

        The GWT codebase is constantly changing and so I will reopen this issue the instant Roo 1.1.0.M3 and GWT 2.1.M3 is released.

        Show
        Alan Stewart added a comment - The GWT codebase is constantly changing and so I will reopen this issue the instant Roo 1.1.0.M3 and GWT 2.1.M3 is released.

          People

          • Assignee:
            Alan Stewart
            Reporter:
            Marius Andreiana
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: