This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The existing http://bits.netbeans.org/8.2/javadoc/org-netbeans-modules-sendopts/overview-summary.html version of SendOpts contains method CommandLine.create(Class...) - that works with ArgsProcessor only - let's make it work with OptionProcessor classes as well. In addition to that consider passing in directly existing instances those interfaces.
See proposal at https://hg.netbeans.org/ergonomics/rev/f6110122d04f
Created attachment 163912 [details] Binary that can handle the OptionProcessor classes sent into create method
Another part for review: Allow printing of Env.usage into own stream: http://hg.netbeans.org/ergonomics/rev/93c16431b222
parse with already created instances: http://hg.netbeans.org/ergonomics/rev/69cb1b2f29c8
Created attachment 163926 [details] Binary built from 69cb1b2f29c8
I'd like to integrate on Monday.
Merged as http://hg.netbeans.org/core-main/rev/e2878ebf739d
Integrated into 'main-silver', will be available in build *201703290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f6110122d04f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #270154: Allow explicit use of OptionProcessor in CommandLine.create(Class...) method