Announcement Announcement Module
Collapse
No announcement yet.
ROO shell loops forever Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ROO shell loops forever

    Hi
    i am interested in the new roundtrip feature of ROO, so i downloaded the new release 1.1M1 with the new STS, setup a project , then created a fairly complex domain model (about 10 entities)

    then i tried to generate controllers
    controller all --package ~.web
    it begins generate the stuff, then after generating the views it undo it add and loops forever creating some file (called VersionController_configurable.aj for a model i have called Version) and undo it again.. repeate it forever...
    what is wrong
    thanks
    Joe

  • #2
    could you post your log.roo file (or all the commands you entered)

    Comment


    • #3
      log.roo

      Hi
      this is my log.roo
      it is just a test for a simple issue tracker
      i create entities and relationship in the shell,simple fields in the normal editor

      it loops in the VersionController

      // Spring Roo 1.1.0.M1 [rev 3a0b8a3] log opened at 2010-05-21 08:42:33
      project --topLevelPackage com.corp.issues --projectName issue-test --java 6 --template STANDARD_PROJECT
      // Spring Roo 1.1.0.M1 [rev 3a0b8a3] log opened at 2010-05-21 08:42:54
      // Spring Roo 1.1.0.M1 [rev 3a0b8a3] log opened at 2010-05-21 08:51:46
      persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
      // [failed] entity --class ~.model.User
      // [failed] entity --class ~.model.User
      entity --class ~.model.Account --testAutomatically
      entity --class ~.model.Project --testAutomatically
      entity --class ~.model.Issue --testAutomatically
      // [failed] entity --class ~.model.Module
      entity --class ~.model.Component --testAutomatically
      entity --class ~.model.Version --testAutomatically
      // [failed] entity --class ~.model.Release
      entity --class ~.model.IssueType --testAutomatically
      entity --class ~.model.ProjectGroup --testAutomatically
      entity --class ~.model.Comment --testAutomatically
      entity --class ~.model.Revision --testAutomatically
      entity --class ~.model.UserGroup
      // [failed] field set --fieldName members --element com.corp.issues.model.Account

      field set --fieldName members --element ~.model.Project

      field set --fieldName members --element ~.model.Project
      // [failed] field set --fieldName members --element ~.model.Project
      field set --fieldName projects --element ~.model.Project
      field set --fieldName projects --element ~.model.Project
      // [failed] entity --class com.corp.issues.model.Issue
      field reference --fieldName affectedVersion --type com.corp.issues.model.Version
      field reference --fieldName fixVersion --type com.corp.issues.model.Version
      field reference --fieldName type --type com.corp.issues.model.IssueType
      // [failed] field reference --fieldName state --type com.corp.issues.model.IssueState
      field reference --fieldName issueState --type com.corp.issues.model.IssueState
      // [failed] field reference --fieldName reportedBy --type com.corp.issues.model.Account
      // [failed] field reference --fieldName reportedBy --type com.corp.issues.model.Account
      field set --fieldName comment --element ~.model.Comment
      field reference --fieldName project --type com.corp.issues.model.Project
      entity --class com.corp.issues.model.UserAccount
      // [failed] entity --class ~.model.UserGroup
      // [failed] field set --fieldName members --element ~.model.UserAccount
      field set --fieldName members --element ~.model.UserAccount
      // [failed] entity --class ~.model.Project
      // [failed] field reference --fieldName projectLead --type com.corp.issues.model.UserAccount
      field reference --fieldName projectLead --type com.corp.issues.model.UserAccount
      // [failed] entity --class ~.model.Issue
      field reference --fieldName reportedBy --type com.corp.issues.model.UserAccount
      field reference --fieldName assignedTo --type com.corp.issues.model.UserAccount
      // [failed] controller all --package ~.view.jsp
      // Spring Roo 1.1.0.M1 [rev 3a0b8a3] log opened at 2010-05-21 10:54:51
      // [failed] controller all --package ~.web
      // Spring Roo 1.1.0.M1 [rev 3a0b8a3] log opened at 2010-05-21 10:59:19
      gwt setup
      help

      Comment


      • #4
        Okay, start again, but before you do please type "development mode" and hit enter. This will give us more detailed information on what is going wrong. Also, you don't need to "controller all" if you're using GWT. Finally, "field set" and "field reference" are invalid for GWT projects for the time being, so skip any quasi-complex types like those for GWT 2.1.0.M1 / Roo 1.1.0.M1. Your issue may have been related to that.

        Comment

        Working...
        X