-
Bug
-
Resolution: Done
-
Major
-
2.4.0.Final, 2.4.1.Final
-
None
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.)
- relates to
-
WINDUP-705 Fix/implement automatic distribution upgrading
- Closed