You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2006/05/24 07:55:07 UTC

[jira] Assigned: (JSPF-13) Create a main for command line usage

     [ http://issues.apache.org/jira/browse/JSPF-13?page=all ]

Norman Maurer reassigned JSPF-13:
---------------------------------

    Assign To: Norman Maurer

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.  


> Create a main for command line usage
> ------------------------------------
>
>          Key: JSPF-13
>          URL: http://issues.apache.org/jira/browse/JSPF-13
>      Project: jSPF
>         Type: New Feature

>   Components: Core
>     Reporter: Stefano Bagnara
>     Assignee: Norman Maurer
>      Fix For: 1.0

>
> We should try to mimic the perl implementation command line usage

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Re: [jira] Assigned: (JSPF-13) Create a main for command line usage

Posted by Ahmed Mohombe <am...@yahoo.com>.
>>
>> 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


Re: [jira] Assigned: (JSPF-13) Create a main for command line usage

Posted by Norman Maurer <nm...@byteaction.de>.
Am Mittwoch, den 24.05.2006, 12:16 +0200 schrieb Ahmed Mohombe:
> >>
> >> 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.

You are right but i have now finished it without the usage of
commons-cli. I thought its a bit overkill for 3 commandline args. So i
dedicide to not add this dependency. I will commit it later when svn
works again.

bye
Norman

Re: [jira] Assigned: (JSPF-13) Create a main for command line usage

Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/JSPF-13?page=all ]
> 
> Norman Maurer reassigned JSPF-13:
> ---------------------------------
> 
>     Assign To: Norman Maurer
> 
> 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.

Stefano


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