Results 1 to 2 of 2

Thread: Roo development - meandering path?

  1. #1
    Join Date
    Feb 2012
    Posts
    8

    Default Roo development - meandering path?

    I've been going through the various Roo tutorials trying to eek out a development methodology from the system, but it seems to me there are a few pointers that Roo is a one-way development process. What I mean is that if you've auto-generated a unit (like a field or class) and forgotten one of the switches (such as testAutomatically), the only option for refinement is to find the affected files, delete the affected areas and then redo the command.

    Is that correct? I'm wondering if this is essentially a design choice within Roo and what the reasoning is?

    thanks

    chanoch

  2. #2
    Join Date
    Jun 2008
    Location
    Philadelphia, PA, USA
    Posts
    212

    Default

    While it certainly is true that setting up a new feature in a Roo application, such as Spring MVC, is not undo-able, you should probably back up your application (or better yet, use Git and do a local branch to experiment) each time you configure a new feature.

    However, I want to correct what you said about the --testAutomatically option. That statement is incorrect. You can just do this:

    test integration --entity ~.model.MyEntity

    That will create the integration tests, DataOnDemand framework, and watch for changes to your object.

    Also, if you move to using Repositories and Services, the integration tests will switch to using them.

    Ken
    Ken Rimple
    Chariot Solutions
    email: krimple@chariotsolutions.com
    work: www.chariotsolutions.com/education
    personal: www.rimple.com

    Author: Spring Roo in Action (Manning)
    MEAP Site: manning.com/rimple

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •