XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 64-bit

      Description

      Run the following Roo script

      -------------------------------------------
      project --topLevelPackage com.example --projectName example --java 6
      persistence setup --provider DATANUCLEUS --database HYPERSONIC_IN_MEMORY
      // Entity A
      entity --class ~.server.domain.A
      field string --fieldName message --notNull --sizeMax 64
      // Entity B
      entity --class ~.server.domain.B
      field string --fieldName message --notNull --sizeMax 64
      // ONE-TO-MANY
      field reference --class ~.server.domain.A --fieldName sideMany --type ~.server.domain.A --notNull
      field set --class ~.server.domain.B --fieldName sideOne --element ~.server.domain.A --cardinality ONE_TO_MANY
      -------------------------------------------

      Import resulting project into STS 2.5.0.M3 as an existing maven project
      Open Roo shell
      Run the following command
      -------------------------------------------
      gwt setup
      -------------------------------------------

      Problems:

      Description Resource Path Location Type
      BRecord.sideOne cannot be resolved BListView.java /example/src/main/java/com/example/gwt/scaffold/generated line 46 Java Problem
      com.example.gwt.request.SetRecord cannot be resolved to a type BEditView.java /example/src/main/java/com/example/gwt/scaffold/generated line 48 Java Problem
      com.example.gwt.request.SetRecord cannot be resolved to a type BEditView.java /example/src/main/java/com/example/gwt/scaffold/generated line 48 Java Problem
      com.example.gwt.request.SetRecord cannot be resolved to a type BListView.java /example/src/main/java/com/example/gwt/scaffold/generated line 46 Java Problem
      com.example.gwt.request.SetRecord cannot be resolved to a type BRecord.java /example/src/main/java/com/example/gwt/request line 18 Java Problem
      com.example.gwt.request.SetRecord cannot be resolved to a type BRecord.java /example/src/main/java/com/example/gwt/request line 18 Java Problem
      com.example.gwt.scaffold.generated.SetRecordRenderer cannot be resolved to a type BDetailsView.java /example/src/main/java/com/example/gwt/scaffold/generated line 70 Java Problem
      com.example.gwt.scaffold.generated.SetRecordRenderer cannot be resolved to a type BEditActivity.java /example/src/main/java/com/example/gwt/ui line 62 Java Problem
      com.example.gwt.scaffold.generated.SetRecordRenderer cannot be resolved to a type BEditView.java /example/src/main/java/com/example/gwt/scaffold/generated line 48 Java Problem
      com.example.gwt.scaffold.generated.SetRecordRenderer cannot be resolved to a type BListView.java /example/src/main/java/com/example/gwt/scaffold/generated line 46 Java Problem
      SetRecord cannot be resolved to a type BEditActivity.java /example/src/main/java/com/example/gwt/ui line 59 Java Problem
      SetRecord cannot be resolved to a type BEditActivity.java /example/src/main/java/com/example/gwt/ui line 63 Java Problem
      SetRecord cannot be resolved to a type BEditView.java /example/src/main/java/com/example/gwt/scaffold/generated line 85 Java Problem
      SetRecord cannot be resolved to a type BRecord.java /example/src/main/java/com/example/gwt/request line 22 Java Problem
      SetRecord cannot be resolved to a type BRecord.java /example/src/main/java/com/example/gwt/request line 28 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BActivitiesMapper.java /example/src/main/java/com/example/gwt/ui line 7 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BDetailsActivity.java /example/src/main/java/com/example/gwt/ui line 14 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BDetailsView.java /example/src/main/java/com/example/gwt/scaffold/generated line 17 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BEditActivity.java /example/src/main/java/com/example/gwt/ui line 13 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BEditView.java /example/src/main/java/com/example/gwt/scaffold/generated line 28 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BListActivity.java /example/src/main/java/com/example/gwt/ui line 11 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BListView.java /example/src/main/java/com/example/gwt/scaffold/generated line 15 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BRecord.java /example/src/main/java/com/example/gwt/request line 8 Java Problem
      The import com.example.gwt.request.SetRecord cannot be resolved BRecordRenderer.java /example/src/main/java/com/example/gwt/scaffold/generated line 26 Java Problem
      The method getSideOne() is undefined for the type BRecord BDetailsView.java /example/src/main/java/com/example/gwt/scaffold/generated line 70 Java Problem
      The method setRequest() is undefined for the type ApplicationRequestFactory BEditActivity.java /example/src/main/java/com/example/gwt/ui line 61 Java Problem

        Attachments

          Activity

            People

            Assignee:
            cdupuis Christian Dupuis
            Reporter:
            y2i Yuri
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: