axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <>
Subject Re: [Axis2] Codegen tool command line options
Date Thu, 14 Sep 2006 19:56:36 GMT
GetOpt is the standard way on linux / unix to do command line parsing
and I like it alot. I wasn't aware that Xalan has one but there are a
few (non apache) java versions I've used. +1 .


On 9/14/06, Samisa Abeysinghe <> wrote:
> I have few problems with codegen command line options.
> I would like it to have some getopt (see man page) like syntax. However
> there are some problems here.
> First:
> It is the usual convention that we use -- for long options. Long options
> are any option that has more than one char. e.g. ss, sd
> Either we have to come up with single char alternatives to them or have
> to change the syntax to --
> Second:
> If I use -lc it breaks, I have to use -l c
> Third:
> We have getopt like implementation in Java. e.g. Xalan has
> src/org/apache/xalan/xsltc/cmdline/getopt/
> We can use this and improve command line option parsing
> Fourth:
> Without something like getopt, we cannot drop the need for -uri in the
> current syntax (I think there a Jira requesting to drop -uri option)
> Thoughts please...
> Samisa...
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message