Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-177

Add silent support for legacy "-i,--interactive" script option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.CR1
    • None
    • None
    • None

    Description

       -i,--interactive <true/false>         Indicates if the migration tool should interact (or not) with the user. Value should either be true or false.
      

      launching script option was switched by CMTOOL-150 for

       -n,--non-interactive                  Indicates if the migration tool should not interact with the user.
      

      This could break some customers scripts as the old option is now not recognized by the tool
      EAP 7.1.0 (jboss-server-migration 1.0.3.Final-redhat-4)

      ./jboss-server-migration.sh --source ${SOURCE_DISTRO} --target ${TARGET_DISTRO} --interactive false
      # non interactive migration is executed
      

      master 108b84

      ./jboss-server-migration.sh --source ${SOURCE_DISTRO} --target ${TARGET_DISTRO} --interactive false
      Unrecognized option: --interactive
      

      We should keep at least some kind of silent support for the old option - do not mention it neither in docs nor in help message, and optionally also print some warning about option being deprecated.

      Attachments

        Activity

          People

            emartins@redhat.com Eduardo Martins
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: