james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Mohombe <amoho...@yahoo.com>
Subject Re: [jira] Assigned: (JSPF-13) Create a main for command line usage
Date Wed, 24 May 2006 10:16:34 GMT
>>
>> i will do this. But what to prefer:
>>
>> a) user  apache cli  http://jakarta.apache.org/commons/cli/ ?
>> or b) parse the []args ?
>>
>> I think apache cli is nicer and cleaner to use. But it will add a new 
>> dependency.  
> 
> Let's do the easy thing, first: use commons-cli if it helps.
> We can remove the dependency later if we don't want to depend on 
> commons-cli.
commons-cli really helps :).
It's very simple, clean, and reduces the required code allot. About potential errors in the
code not
to mention.
Regarding it's dimension: IMHO it's small enough and it's better to have a few KB more to
download
than to have a few more bugs to fix :).

Ahmed.


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


Mime
View raw message