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

JSF Scaffold against multi-module roo project switches module focus to project with entity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      Using this script, which creates a web and services project, and installs JSF into the web module, the focus changes to the services module when finished scaffolding the web bean.

      I think this may be a regression. This is reproducible on my machine from scratch. I will try Spring MVC setup as well and append to this JIRA if it is also doing this same thing now.

      // Spring Roo 1.2.0.BUILD-SNAPSHOT [rev 64c3bb1] log opened at 2011-11-19 15:47:40
      project --topLevelPackage org.foo.bar --projectName baz
      module create --moduleName web --topLevelPackage ~.web
      module focus --moduleName ~
      module create --moduleName services --topLevelPackage ~.services
      module focus --moduleName web
      web jsf setup
      module focus --moduleName services
      jpa setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE 
      entity jpa --class ~.db.Course --activeRecord false --testAutomatically --equals true 
      field string --fieldName name
      field number --fieldName cost --type java.math.BigDecimal --decimalMin 0.0
      field number --type short --fieldName duration
      repository jpa --interface ~.persistence.CourseRepository --entity ~.db.Course
      service --interface ~.service.CourseService --entity ~.db.Course 
      module focus --moduleName web
      web jsf scaffold --class ~.CourseBean --beanName courseBean --entity services|~.db.Course --includeOnMenu true --createConverter true 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              krimple Ken Rimple
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: