Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-827

The --updateDistribution option is not recognized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.5.0.Final
    • 2.4.0.Final, 2.4.1.Final
    • None

    Description

      When running Windup 2.4.0 (like ./bin/windup --help), the output says

      ...
      The rulesets are outdated: /home/lthon/b/windup-distribution-2.4.0.Final/rules
      Consider running Windup with --updateRuleset or --updateDistribution.
      ...
      

      However, the --updateDistribution option is not recognized:

      $ ./bin/windup --updateDistribution
      Using Windup at /home/lthon/b/windup-distribution-2.4.0.Final
      > JBoss Windup, version 2.4.0.Final. JBoss Forge, version 2.19.0.Final
      Core rulesets: Installed: 2.4.0.Final Latest release: 2.4.1.Final
      
      The rulesets are outdated: /home/lthon/b/windup-distribution-2.4.0.Final/rules
      Consider running Windup with --updateRuleset or --updateDistribution.
      
      WARNING: Unrecognized command-line argument: --updateDistribution
      Writing graph config to /tmp/windupgraph_LrWFwM/TitanConfiguration.properties
      
      ...
      

      I see that the code for the command is there, so it should be just a matter of adjusting Bootstrap.processArguments.

      (Also, a small inconsistency that isn't worth a separate JIRA: Consider running Windup with --updateRuleset or --updateDistribution mentions --updateRuleset, but ./bin/windup --help says --updateRulesets. I think these should be consistent, even though both of them work.)

      Attachments

        Issue Links

          Activity

            People

              mnovotny@redhat.com Marek Novotny
              lthon@redhat.com Ladislav Thon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: