Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-858

Add proper argument handling to migration tool

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: NXJM-1.1.0
    • Component/s: JSF2 Migration
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Options are no longer boolean flags (true/false).
      Instead flags were added to toggle previous options on (they're off by default):
      -m : If set, an automatic migration will be done (when possible)
      -f : If set, the original files will be formatted in order to allow users to do a diff between the original file and the migrated one easily
      -r : If set, the migration will walk the directory tree and will be applied in every valid project directory found.

      Show
      Options are no longer boolean flags (true/false). Instead flags were added to toggle previous options on (they're off by default): -m : If set, an automatic migration will be done (when possible) -f : If set, the original files will be formatted in order to allow users to do a diff between the original file and the migrated one easily -r : If set, the migration will walk the directory tree and will be applied in every valid project directory found.
    • Sprint:
      nxNag Sprint 7.1-1
    • Story Points:
      2

      Description

      It would be nice to have proper argument handling in the migration tool.
      Something like:

      java -jar nuxeo-jsf2-migration-1.1.0-SNAPSHOT.jar -fmr .
      

      where (f)ormat, (m)igrate and (r)ecursive

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: