hg: jigsaw/jake/jdk: jdk.joptsimple
Jeff MAURY
jeffmaury at jeffmaury.com
Thu Aug 29 12:50:23 PDT 2013
Did you have a look at JCommander: http://jcommander.org/
Jeff
On Thu, Aug 29, 2013 at 4:35 PM, <mark.reinhold at oracle.com> wrote:
> 2013/8/28 11:59 -0700, jaroslav.tulach at oracle.com:
> > Seems the kind of utility everyone has to write once from scratch,
> right? I
> > did it as well as it seemed no existing parser matches our needs.
>
> Yes. We didn't write joptsimple; it was written by Paul Holser [1].
> It's not perfect, but it's better than all the others I surveyed a
> couple of years ago.
>
> > NetBeans offers standalone, modular, ServiceLoader based, declarative,
> POSIX
> > complient approach for parsing command line arguments in a single JAR
> API: ...
>
> I didn't know this -- thanks for pointing it out. I'll take a look.
>
> - Mark
>
>
> [1] http://pholser.github.io/jopt-simple/
>
--
Jeff MAURY
"Legacy code" often differs from its suggested alternative by actually
working and scaling.
- Bjarne Stroustrup
http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
More information about the jigsaw-dev
mailing list