args4j-users Mailing List for Java command line option parsing library
Brought to you by:
kkawa
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kohsuke K. <Koh...@Su...> - 2006-02-20 18:44:00
|
> Is there any way to mark an argument as required > and prevent the null check: > > ... > StringOption paramUserName = new StringOption("-u"); > cmdLineParser.addOption(paramUserName); > String user = paramUserName.value; > if (user == null) { > printUsage(); > } Since then args4j has moved to https://args4j.dev.java.net/ and yes, a mandatory option can be easily declared. See https://args4j.dev.java.net/nonav/maven/apidocs/index.html?org/kohsuke/args4j/Option.html -- Kohsuke Kawaguchi Sun Microsystems koh...@su... |
From: Gert-Jan v. de S. <st...@av...> - 2005-07-21 09:01:13
|
Is there any way to mark an argument as required and prevent the null check: ... StringOption paramUserName = new StringOption("-u"); cmdLineParser.addOption(paramUserName); String user = paramUserName.value; if (user == null) { printUsage(); } Thanks in advance, -- Gert-Jan van de Streek Avisi B.V. tel: 0313-48 28 58 |
From: <ben...@id...> - 2004-05-25 08:16:55
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |