To replicate:
- Run the vote.roo script
- Using a text editor or IDE, add the class-level annotation @RooPlural("Things") to Vote.java; Roo correctly updates these files:
Updated SRC_MAIN_JAVA/com/springsource/vote/web/VoteController_Roo_Controller.aj Updated SRC_MAIN_JAVA/com/springsource/vote/domain/Vote_Roo_Entity.aj Updated SRC_MAIN_WEBAPP/WEB-INF/views/votes/list.jspx
- Restart the Roo shell; only now does Roo update the integration test ITD:
Updated SRC_TEST_JAVA/com/springsource/vote/domain/VoteIntegrationTest_Roo_IntegrationTest.aj
Likewise, if you delete that annotation to restore the default pluralisation, the same ITD is not updated until you restart the Roo shell.