[Engine-devel] Adding JCommander library to projects

Martin Perina mperina at redhat.com
Thu Mar 28 08:48:07 UTC 2013


Hi,

I'm currently working on bug 904029, support for POSIX parameters and values
in engine-manage-domains. I think there are two possible solutions:

  1) Write custom parser (similar to EngineConfigCLIParser used for engine-config)
  2) Add CLI parsing library to project and use it for all command line clients
     (first implementation could be for engine-manage-domains)

I think 2) is much better approach, but I'm not sure about the process of adding new
library to project.

Personally I like JCommander ( http://jcommander.org ), using annotation for parameter
specification is great. JCommander is licensed with Apache 2.0 license, so the addition
shouldn't be a problem.

So, would it be possible to add JCommander library to project?

Martin Perina





More information about the Engine-devel mailing list