Announcement Announcement Module
Collapse
No announcement yet.
Multimodule projects not creating service aspects when 3 modules. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multimodule projects not creating service aspects when 3 modules.

    Maven multimodule projects

    problem creating both roo service aspects in 3 teir multi module maven project...

    3 teir
    1 web module and 1 service module and 1 persistence module (jpa entity and jpa repository in persistence module || Service_Roo_Service in Service module)

    only creates

    Service.java
    ServiceImpl.java

    but when

    2 teir
    1 web module and 1 servicepersistence module (jpa entity jpa repository Service all in one module)

    creates

    Service.java
    ServiceImpl.java
    Service_Roo_Service.aj
    ServiceImpl_Roo_Service.aj

    correctly

    Am I missing something in these test scripts ?

    >>>>>>>>>>>>>>>>>>>>> Two teir script

    project --topLevelPackage uk.co.stub.multiModuleTwoTeir --packaging POM
    module create --moduleName Web --topLevelPackage ~.web
    module focus --moduleName ~
    module create --moduleName ServicePersistence --topLevelPackage ~.ServicePersistence
    persistence setup --provider HIBERNATE --database MYSQL --databaseName test10 --hostName localhost --userName BILBO --password BAGGINS
    database reverse engineer --schema test10 --activeRecord false --includeTables "Plan GAddress HPAverage HPQTAround Houseprice" --package ~.domain --testAutomatically true
    repository jpa --interface ~.Repos.Houseprice --entity ~.domain.Houseprice
    repository jpa --interface ~.Repos.Hpaverage --entity ~.domain.Hpaverage
    repository jpa --interface ~.Repos.Hpqtaround --entity ~.domain.Hpqtaround
    service --entity ~.domain.Houseprice --interface ~.service.HousepriceService
    service --entity ~.domain.Hpaverage --interface ~.service.HpaverageService
    service --entity ~.domain.Hpqtaround --interface ~.service.HpqtaroundService




    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> Three teir script

    project --topLevelPackage uk.co.stub.MultiModuleThreeTeir --packaging POM
    module create --moduleName Web --topLevelPackage ~.web
    module focus --moduleName ~
    module create --moduleName Service --topLevelPackage ~.Service
    module focus --moduleName ~
    module create --moduleName Persistence --topLevelPackage ~.Persistence
    persistence setup --provider HIBERNATE --database MYSQL --databaseName test10 --hostName localhost --userName BILBO --password BAGGINS
    database reverse engineer --schema test10 --activeRecord false --includeTables "Plan GAddress HPAverage HPQTAround Houseprice" --package ~.domain --testAutomatically true
    repository jpa --interface ~.Repos.Houseprice --entity ~.domain.Houseprice
    repository jpa --interface ~.Repos.Hpaverage --entity ~.domain.Hpaverage
    repository jpa --interface ~.Repos.Hpqtaround --entity ~.domain.Hpqtaround
    module focus --moduleName Service
    service --entity ~.domain.Houseprice --interface ~.service.HousepriceService
    service --entity ~.domain.Hpaverage --interface ~.service.HpaverageService
    service --entity ~.domain.Hpqtaround --interface ~.service.HpqtaroundService

  • #2
    Best to raise a Jira issue for us to look at it, however, since you are using dbre, please ensure you use the Roo 'backup' command in each project and attach the zips to the ticket. Without the dbre.xml file in each project, I will be unable to attempt to replicate the problem.

    Comment


    • #3
      jira logged

      Hi, thanks for the response - hope I created this in the correct place

      https://jira.springsource.org/browse/ROO-3010

      Comment

      Working...
      X