Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-2562

Aspectj files deleted in for Spring ROO multi-module project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.1.RELEASE
    • Fix Version/s: None
    • Component/s: ROO
    • Labels:

      Description

      Create a multi-module spring roo project with at least one web mvc controller and import into STS.
      The initial importation usually works but if the roo shell is closed and reopened the controller aspectj files get deleted.

      An example roo script

      project --packaging pom --topLevelPackage com.foo --projectName foo
      module create --moduleName module1 --packaging jar --topLevelPackage com.foo --parent com.foo:foo:0.1.0.BUILD-SNAPSHOT
      module focus --moduleName ~
      module create --moduleName module2 --packaging war --topLevelPackage com.foo --parent com.foo:foo:0.1.0.BUILD-SNAPSHOT
      web mvc setup
      module focus --moduleName module1
      jpa setup --database HYPERSONIC_IN_MEMORY --provider HIBERNATE
      entity jpa --class MyEntity
      field string --fieldName entityName
      module focus --moduleName module2
      web mvc all --package ~.mvc
      

      The message in the roo shell as it destroys the controller:

      roo> Deleted SRC_MAIN_JAVA\com\foo\mvc\MyEntityController_Roo_Controller.aj - empty
      Deleted SRC_MAIN_JAVA\com\foo\mvc\ApplicationConversionServiceFactoryBean_Roo_ConversionService.aj - empty
      

        Attachments

          Activity

            People

            • Assignee:
              ldossantos Leo Dos Santos (c) [X]
              Reporter:
              chorrylan Laurie Chan
            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: