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

Module focus doesn't work when class has the focus

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I've create some different maven modules using the following commands:

      project setup --topLevelPackage org.springframework.roo.multimodule.test
      module create --moduleName controllers --topLevelPackage org.springframework.roo.multimodule.test
      module focus --moduleName ~
      module create --moduleName service-api --topLevelPackage org.springframework.roo.multimodule.test
      module focus --moduleName ~
      module create --moduleName service-impl --topLevelPackage org.springframework.roo.multimodule.test
      module focus --moduleName ~
      module create --moduleName model --topLevelPackage org.springframework.roo.multimodule.test
      module focus --moduleName ~
      module create --moduleName repository --topLevelPackage org.springframework.roo.multimodule.test
      module focus --moduleName ~
      

      When I finish, my Roo Shell Prompt looks like:

      roo>

      If I change the focus to "repository" module using module focus --moduleName repository, shell prompt looks like:

      repository roo>

      When I create a new entity using entity jpa --class model|~.MyEntity --activeRecord false, shell promt changes to:

      model|~.MyEntity roo>

      Until this step, everything works ok... but if now I try to change the focus to other module using module focus --moduleName repository, is not going to work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eruiz Enrique Ruiz (DiSiD)
                Reporter:
                jcgarcia Juan Carlos García del Canto
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: