Re: [VOTE] New committer - Stephen Kestle

2007-03-21 Thread Andrew Shirley
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

[jira] Commented: (CLI-125) Invokes Date Validator for a Date type (fail on real example)

2006-09-12 Thread Andrew Shirley (JIRA)
[ 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: [cli][configuration][convert] Architecting our overlaps

2006-09-11 Thread Andrew Shirley
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

Re: [RESULT] [VOTE] Andrew Shirley as committer?

2006-09-01 Thread 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] Created: (CLI-124) HelpFormatter should be more cunning when deciding if a Group is Optional and therefore square-bracketing it

2006-07-28 Thread Andrew Shirley (JIRA)
/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

[jira] Created: (CLI-123) the minimum and maximum constraints on a group do not take other groups into account

2006-07-28 Thread Andrew Shirley (JIRA)
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

[jira] Created: (CLI-120) equals and hashCode are incomplete

2006-06-30 Thread Andrew Shirley (JIRA)
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

[jira] Commented: (CLI-117) Improve the group option desing (ids, more than one instance, etc)

2006-06-30 Thread Andrew Shirley (JIRA)
[ 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

Re: [CLI] Where is the oac.cli package?

2006-06-27 Thread Andrew Shirley
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 -

[jira] Commented: (CLI-105) [cli] Options.getOptions() should return options in the order they were insterted

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Updated: (CLI-80) [cli] support validation for one/many values

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Commented: (CLI-80) [cli] support validation for one/many values

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Commented: (CLI-109) [cli] supporting options without a short option

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Commented: (CLI-79) [cli] support type validation

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Created: (CLI-119) CommandLine (and WriteableCommandLine) know too much about the subclasses of Option

2006-06-23 Thread Andrew Shirley (JIRA)
: 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&#

[jira] Updated: (CLI-12) [cli] Not handling property=value followed by 'remaining' args

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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

[jira] Commented: (CLI-12) [cli] Not handling property=value followed by 'remaining' args

2006-06-23 Thread Andrew Shirley (JIRA)
[ 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]

[jira] Commented: (CLI-13) [cli] CommandLine.getOptionValue() behaves contrary to docs

2006-06-06 Thread Andrew Shirley (JIRA)
[ 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

[jira] Updated: (CLI-18) [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF

2006-06-06 Thread Andrew Shirley (JIRA)
[ 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

[jira] Updated: (CLI-18) [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF

2006-06-06 Thread Andrew Shirley (JIRA)
[ 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

[jira] Commented: (CLI-18) [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF

2006-06-06 Thread Andrew Shirley (JIRA)
[ 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

Re: [cli] [patch] build bug

2006-04-19 Thread Andrew Shirley
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

Re: [cli][patch] parsing option arguments which have a default

2006-04-18 Thread Andrew Shirley
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

Re: [cli] [patch] build bug

2006-04-18 Thread Andrew Shirley
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 >

Re: [cli][patch] parsing option arguments which have a default

2006-04-13 Thread Andrew Shirley
> 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

[cli][patch] parsing option arguments which have a default

2006-04-13 Thread Andrew Shirley
find attached a patch and a testsuite. cheers Andrew Shirley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[cli] [patch] build bug

2006-04-13 Thread Andrew Shirley
(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