axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
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 .

Robert

On 9/14/06, Samisa Abeysinghe <samisa.abeysinghe@gmail.com> 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/GetOpt.java
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message