Hi Parag,
Do you have some sample code for this. I will give it a wizz in a mo
and see
what happens.
I had identified this as a possible problem area but I haven't had a
chance to
address it yet.
Cheers,
-John K
On Wednesday, August 28, 2002, at 05:59 , Parag Thakur wrote:
hi!
I have a
The 1.0 release is nearly ready. Stay tuned...
-John K
On Wed, 2002-10-16 at 21:42, Phil Surette wrote:
I see that CLI is listed in the commons components repository but it does
not appear in the release download page nor on the nightly build stage. Is
this an oversight?
--
To
pay attention to.
--
To unsubscribe, e-mail: mailto:commons-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:commons-user-help;jakarta.apache.org
--
John Keyes [EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:commons-user-unsubscribe;jakarta.apache.org
Soysal
--
To unsubscribe, e-mail: mailto:commons-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:commons-user-help;jakarta.apache.org
--
John Keyes [EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:commons-user-unsubscribe;jakarta.apache.org
For additional
in the args a MissingOptionException will be thrown. I need
to tidy up the exception message for it but it should give you a start
into it.
Cheers,
-John K
On Thu, 2002-10-24 at 08:52, John Keyes wrote:
Joe,
This request was made a couple of days back. I am trying to 1.0 release
out
]
--
John Keyes [EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Dmitry,
I apologise for not spotting that bug. CLI is alive and I will see if
I can fix
that bug, it appears to be an error in the flatten method.
Thanks,
-John K
On Sunday, Jan 5, 2003, at 12:27 Europe/Dublin, Dmitry Macsema wrote:
I've submitted a bug
anyone have a fix for this in the backhand?
Thanks for the very handy commons-cli-package anyway. This is a _really usefull_
thing! Thanks again!
regards, Jörg
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
John Keyes
Hi Jörg,
PS: IMHO the bug report could be closed, or at least someone should add
a comment that that issue is solved in CVS...
Thats done now, the bug has been marked as fixed.
-John K
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Hi Willie,
public static void main(String[] args) {
Options options = new Options();
Option run = OptionBuilder.hasArg()
.withArgName(files)
.withValueSeparator()
.withDescription(Run a process)
and processing stopped.
-John K
On Thu, 2003-02-06 at 02:05, Dmitry Macsema wrote:
...and when argument for the option is specified at runtime,
an exception should be thrown.
--
John Keyes [EMAIL PROTECTED
be line.getOptionValue not getValue
Hope this proves useful.
Pete Edwards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
John Keyes [EMAIL PROTECTED
Hi Ringo,
The behaviour you describe is incorrect. I have this on my todo
list (sorry for not responding to your first mail).
-John K
On Friday, Feb 14, 2003, at 13:45 Europe/Dublin, [EMAIL PROTECTED]
wrote:
Hello,
I think there is an inconsistency in the method
Options.hasOption(String).
]
For additional commands, e-mail: [EMAIL PROTECTED]
--
John Keyes [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Jörg
snip/
IMHO it should throw an error in that case as a combination like that
is far away from beeing user-friendly... But as user-friendlyness
might be a personal thing you could do it as you said: take a hyphon
or two to make it clear. But I personally would prefer the first
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
John Keyes [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Bob,
In CLI 1.0 the parameter was Object, so you would pass an instance
e.g. new Integer(1);
We are currently developing the next version and the parameter
type has changed to Class.
So an example usage is:
Argument i = builder.withValueType(Integer.class).create(i);
Integer svalue =
Hi Robert,
Can you supply some test code for this?
Thanks,
-John K
On Monday, Oct 20, 2003, at 23:11 Europe/Dublin, Augustyn, Robert non
Unisys wrote:
Hi,
I was expecting that when a required option is missing from the
command like an exception would be thrown but nothing like that.
Same when
Sam you're asking in the right place alright. One of the 'Logging'
people
should pick up on this soon and post a reply.
-John K
On 4 Nov 2003, at 15:57, Sam Berlin wrote:
Is there perhaps another place I should be asking this question?
Thanks,
Sam
Sam Berlin wrote:
Helllo Everyone,
I am
softeam [EMAIL
PROTECTED] wrote:
LAURENT Frederic SZSIC13 softeam wrote:
John Keyes wrote:
I don't see any obvious errors. Can you write the test
in plain java and see if that works. If not then post
the class here and I'll have a look at it. Sorry for the abruptness
but I am busy
Yes I'll fix the docs soon. Thanks Frederic.
-John K
On 12 Dec 2003, at 09:18, LAURENT Frederic SZSIC13 softeam wrote:
John Keyes wrote:
Hi Frederic,
Use the GnuParser instead of the PosixParser. That should do
the trick.
ok this works like a charm !
thanks
Then can we consider
How stable are the v2 CLI APIs?
We need to review them before giving a final status but
the cli2 APIs are around 95% complete. There may be
some minor changes but for the most part they are
final.
Can anyone (John?) give any hints as to scheduling?
I've been very busy for the last month or so and
Hi Anju,
You should post these questions to the JBoss User forum at:
http://www.jboss.org/index.html?module=bb
Cheers,
-John K
On 12 Feb 2004, at 15:31, Anjulatha Vellanki wrote:
I went through the online manual - JBoss 2.4+ Documentation. I have
questions in JBoss security. 1. What is the
I know that readers of this list are wondering if it will ever
be released by there is support for subcommands in CLI 2
which is under (*active*) development. We'll announce when it
is a candidate is available.
-John K
On 13 Feb 2004, at 03:07, Wallace, Hank wrote:
I am just getting started
I know that readers of this list are wondering if it will ever
be released by there is support for subcommands in CLI 2
which is under (*active*) development. We'll announce when it
is a candidate is available.
-John K
On 13 Feb 2004, at 03:07, Wallace, Hank wrote:
I am just getting started
Holliday, Donald B. (LNG-CSP) wrote:
I have read the usage documentation [1] and the javadoc. I can find no
explanation of why you would choose one of the several parsers
(BasicParser, GnuParser, PosixParser) provided with CLI 1.0.
Assuming the BasicParser provides the least capabilities, what do
This should not be the case. Can you include some test code please.
-John K
Venkatesh Prasad Ranganath wrote:
Hi,
I tried to create an option that can be specified via a long-option
and not by a short-option. The way I did it was created an Option
object with null for the short option.
(trying again - first reply seems to have been lost)
Hi Simon,
Check out the test cases, there is a specific one in there for cvs
(org.apache.commons.cli2.apps.CvsTest). We're very sparse on
documentation.
-John K
On 21 Mar 2004, at 19:40, Simon Raess wrote:
hi
I've been using commons-cli
very busy at my day job and the amount of time I spend on CLI
has been hampered. I need to talk to Rob and see what we can come up
with. The code is pretty much all there, we just need to increase our
code coverage and finalize the API.
-John K
Simon
John Keyes wrote:
(trying again - first
Alex,
On 10/7/05, Alex [EMAIL PROTECTED] wrote:
Hello, i have developed a new extension for CLI. It is like
PatterOptionBuilder, but i have called XmlOptionBuilder, because it
reads the Options from a Xml rather than a String pattern or hardcoded.
My problem is that i don't know how can I
Alex are you calling as:
cmd -d /usr/bin , /etc (case A)
or
cmd -d /usr/bin,/etc (case B)
The value separator is used only in the case of a single string token. In
case A there are four tokens passed '-d' '/usr/bin' ',' and '/etc'. In case
B there are only two tokens passed '-d' '/usr/bin,/etc'.
On 10/7/05, Alex [EMAIL PROTECTED] wrote:
Im auto responding but i think that Argumetn is for example -name alex.
So when you have a value, and option is only for exemple -help. Cause
you don't have any argument. This is at least one difference from CLI1.0
Yes you are correct. The unit test
32 matches
Mail list logo