GitHub user sgolovko opened a pull request:
https://github.com/apache/apex-core/pull/469
APEXCORE-644 get-app-package-operators with parent option does not work
There are two apex command line operators that have the option "-parent"
(get-app-package-operators and get-jar-operator-classes). And both of them have
the mandatory argument <full name of the parent class>.
The implementation of the class GetOperatorClassesCommandLineOptions that
builds command line parser options created the descriptor of the option
"-parent" without an argument. And as the result, the argument of the option
was ignored and it was moved to the list of the regular command line parameters.
The bug fix is trivial. It defines the option "-parent" as an option with
an argument.
The new unit test ApexCliTest.testGetOperatorClassesCommandLineInfo() has
been added too.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sgolovko/apex-core APEXCORE-644
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/469.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #469
----
commit e70da43880a2aec49831e70ae83b0edc91c9d5f5
Author: Sergey Golovko <[email protected]>
Date: 2017-02-09T21:53:38Z
APEXCORE-644 get-app-package-operators with parent option does not work
There are two apex command line operators that have the option "-parent"
(get-app-package-operators and get-jar-operator-classes). And both of them have
the mandatory argument <full name of the parent class>.
The implementation of the class GetOperatorClassesCommandLineOptions that
builds command line parser options created the descriptor of the option
"-parent" without an argument. And as the result, the argument of the option
was ignored and it was moved to the list of the regular command line parameters.
The bug fix is trivial. It defines the option "-parent" as an option with
an argument.
The new unit test ApexCliTest.testGetOperatorClassesCommandLineInfo() has
been added too.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---