Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2188

Cannot create GWT front-end interface on Roo project

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: GWT
    • Labels:
      None
    • Environment:
      Mac OS X Snow Leopard - Macbook Air

      Description

      This script fails with exceptions (see below script)

      project --topLevelPackage org.rooina.ria.ajax.coursemanager --projectName coursemanagergwt
      persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE 
      entity --class ~.model.Course
      field string --fieldName name
      field number --fieldName cost --type java.math.BigDecimal
      field number --fieldName numDays --type java.lang.Integer
      
      entity --class ~.model.Room
      field string --fieldName roomName
      field number --fieldName capacity --type java.lang.Integer
      
      entity --class ~.model.ScheduledCourse
      field date --fieldName offerDate --type java.util.Date
      field reference --fieldName room --type ~.model.Room --cardinality MANY_TO_ONE 
      field reference --fieldName course --type ~.model.Course --cardinality MANY_TO_ONE
      field set --type ~.model.ScheduledCourse --fieldName schedule --cardinality ONE_TO_MANY --class ~.model.Course
      field set --type ~.model.ScheduledCourse --fieldName schedule --cardinality ONE_TO_MANY --class ~.model.Room
      
      entity --class ~.model.Registration
      field string --fieldName firstName
      field string --fieldName lastName
      field reference --fieldName offering --type ~.model.ScheduledCourse --cardinality MANY_TO_ONE
      field boolean --fieldName paymentReceived
      field set --type ~.model.Registration --fieldName students --cardinality ONE_TO_MANY --class ~.model.ScheduledCourse
      
      gwt setup
      

      Error is:

      Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo manage ROOT/pom.xml
      Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/spring
      japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
      Was expecting one of:
          "(" ...
          ";" ...
          "=" ...
          "++" ...
          "--" ...
          "+=" ...
          "-=" ...
          "*=" ...
          "/=" ...
          "&=" ...
          "|=" ...
          "^=" ...
          "%=" ...
          "<<=" ...
          ">>=" ...
          ">>>=" ...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jtyrrell James Tyrrell
                Reporter:
                krimple Ken Rimple
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: