You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/04/07 19:05:12 UTC

DO NOT REPLY [Bug 34165] - [configuration] CommandLineConfiguration

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34165>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34165





------- Additional Comments From oliver.heger@t-online.de  2005-04-07 19:04 -------
I think a configuration for accessing command line arguments is a good idea and
your code is a good beginning.

One enhancement request, which should be quite easy to implement: We could
assume that all arguments that do not match the -key=value pattern are file
names and store them in a file property. Then it would be possible to do
something like
List fileArgs = config.getList("file");

Maybe in the long term it would be possible to integrate CLI for command line
parsing? I don't know much about CLI, but there was recently a question on the
user list whether CLI supports simple type conversions for the parsed arguments.
This is an area where configuration could help.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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