tter status you can register
with the wiki and edit that page.
Standard wiki policy is to use FornameSurname as your username.
Andrew
--
Andrew Shirley, Client ServicesDecisionSoft Limited
+44-1865-203192http://www.decis
[
http://issues.apache.org/jira/browse/CLI-125?page=comments#action_12434286 ]
Andrew Shirley commented on CLI-125:
I have looked at this tonight and not really got anywhere. The problem is
essentially that the validator is being called
re verbose by having to specify
that you want the argument converted into a File and also that you want
to validate that the File exists. I'm sure we can work on a concise way
of doing this as it is a logical split and confusing as it stands.
Andrew Shirley
te and only found out about this when Henri emailed me off list later.
I have a signed CLA on my desk but havn't had a chance to fax it yet.
Hopefully I will be able to do that this weekend and can progress from
there.
Thank you once again.
/jira/browse/CLI-124
Project: Commons CLI
Issue Type: Improvement
Reporter: Andrew Shirley
Currently all child groups are required to satisfy their constraints (defaul is
any thing goes) and so if you have a Group A as a child of Group B and set a
minimum of 1 on
CLI
Issue Type: Bug
Affects Versions: 2.0
Reporter: Andrew Shirley
Priority: Minor
If you have a Group A as a child of Group B and you set a minimum or maximum on
Group B, the presence or not of Group A will not affect GroupB. This is because
Groups are
equals and hashCode are incomplete
--
Key: CLI-120
URL: http://issues.apache.org/jira/browse/CLI-120
Project: Commons CLI
Type: Improvement
Versions: 2.0 Beta 1
Reporter: Andrew Shirley
Priority: Minor
there are
[
http://issues.apache.org/jira/browse/CLI-117?page=comments#action_12418624 ]
Andrew Shirley commented on CLI-117:
Issues 1 and 3 are related to a misunderstanding and the use-cases for Group
needs to be clarified as I get the impression that it
xes to cli2 to be incorporated automatically
The cli branch can be found at /jakarta/commons/proper/cli/branches/cli-1.0.x/
the avalon branch is /jakarta/commons/proper/cli/branches/avalon-implementation/
Andrew Shirley
-
[
http://issues.apache.org/jira/browse/CLI-105?page=comments#action_12417523 ]
Andrew Shirley commented on CLI-105:
In cli2, this is fixed in the default case (null comparator) and a comparator
can be used to sort the Option objects in an arbitrary way
[ http://issues.apache.org/jira/browse/CLI-80?page=all ]
Andrew Shirley updated CLI-80:
--
Attachment: BugCLI80Test.java
> [cli] support validation for one/many values
>
>
> Key: CLI-80
&g
[ http://issues.apache.org/jira/browse/CLI-80?page=comments#action_12417518
]
Andrew Shirley commented on CLI-80:
---
Fixed in cli2, unit test to follow.
> [cli] support validation for one/many val
[
http://issues.apache.org/jira/browse/CLI-109?page=comments#action_12417514 ]
Andrew Shirley commented on CLI-109:
This is fixed in cli2 as it uses the concept of triggers any of which is just
as importent as any other. DefaultOptionBuilder creates
[ http://issues.apache.org/jira/browse/CLI-79?page=comments#action_12417509
]
Andrew Shirley commented on CLI-79:
---
The validation in o.a.c.cli2.validation all seems quite good and doesn't
produce nulls. This looks like a complicated thing to fix i
: Improvement
Reporter: Andrew Shirley
There are certain subclasses of Option which seem to have their own areas of
CommandLine and WriteableCommandLine for no apparant reason, The two obvious
ones are Switch and PropertyOption which have {add, get}Switch and
{add,get}Property respectively. I can
[ http://issues.apache.org/jira/browse/CLI-12?page=all ]
Andrew Shirley updated CLI-12:
--
Attachment: BugCLI12Test.java
unit test
> [cli] Not handling property=value followed by 'remaini
[ http://issues.apache.org/jira/browse/CLI-12?page=comments#action_12417443
]
Andrew Shirley commented on CLI-12:
---
This is fixed in CLI2 by using a PropertyOption, I will attach a unit test
which will hopefully also help as documentation.
> [cli]
[ http://issues.apache.org/jira/browse/CLI-13?page=comments#action_12414988
]
Andrew Shirley commented on CLI-13:
---
moving this forward to cli2, you can use CommandLine#getValue(String) with "-d"
or "--debug" so this is fixed in cli2
[ http://issues.apache.org/jira/browse/CLI-18?page=all ]
Andrew Shirley updated CLI-18:
--
Attachment: BugCLI18Test.java
passing junit test for cli2
> [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options
> options, String
[ http://issues.apache.org/jira/browse/CLI-18?page=all ]
Andrew Shirley updated CLI-18:
--
Attachment: BugCLI18Test.java
passing junit test for cli
> [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options
> options, String
[ http://issues.apache.org/jira/browse/CLI-18?page=comments#action_12414954
]
Andrew Shirley commented on CLI-18:
---
I tried to write a JUnit test case for this and couldn't reproduce it for
either cli or cli2. I was working on the latest svn on a
it shouldn't be too difficult to effectively
reimplement cli1 using cli2 as I havn't encountered anything that can be
done in cli but not cli2.
Generally, I think we should be moving away from cli1 whether that is by
simply deprecating it or reimplementing it as a facade
Andrew Shirle
On Thu, Apr 13, 2006 at 03:19:24PM +0100, Andrew Shirley wrote:
> Hi,
>
> I have found a bug in the following scenario:
> You have an option which can take a single argument which in turn has a
> default
> value. You supply a value on the command line which is intended to overr
On Thu, Apr 13, 2006 at 07:46:24PM +0100, sebb wrote:
> Might I suggest you create a Bugzilla patch and then attach the files to it?
> On 13/04/06, Andrew Shirley <[EMAIL PROTECTED]> wrote:
> >
> > I have just tried entering this in bugzilla but the post_bug.cgi was
>
> Please find attached a patch and a testsuite.
:-)
Index:
src/java/org/apache/commons/cli2/commandline/WriteableCommandLineImpl.java
===
--- src/java/org/apache/commons/cli2/commandline/WriteableCommandLineImpl.java
(revision 3863
find attached a patch and a testsuite.
cheers
Andrew Shirley
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(attached) which has a which copies
.properties files for tests in much the same way as the existing one for
src/java
If there is anything else I can do just email.
cheers
Andrew Shirley
Index: build.xml
===
--- build.xml (revis
27 matches
Mail list logo