Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1505 Perform a review of Forge 2.CR
  3. FORGE-1485

Rename --target for faces-new-validator-method command

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.0.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

    Description

      The faces-new-validator-method has a --target parameter but without TAB completion, we don't know what this actually targets. When we hit TAB we get :

      [Language.java]$ faces-new-validator-method --target
      Author.java  Item.java  Language.java  Publisher.java
      

      Most of the target parameters are suffixed to be more explicit :

      entities-from-tables --targetPackage
      faces-new-converter --targetPackage
      project-new --targetLocation
      

      So I would rename it targetClass :

      faces-new-validator-method --targetClass
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: