Re: Argument Processor "plugin"

2012-08-29 Thread Matt Benson
On Wed, Aug 29, 2012 at 10:42 AM, Nicolas Lalevée wrote: > > Le 29 août 2012 à 16:41, Matt Benson a écrit : > >> Comments: >> >> - ArgumentProcessor#readArgument() should return a negative number for >> unsupported args, otherwise a separate boolean #supports(arg) method >> and a declared IllegalA

Re: Argument Processor "plugin"

2012-08-29 Thread Nicolas Lalevée
Le 29 août 2012 à 16:41, Matt Benson a écrit : > Comments: > > - ArgumentProcessor#readArgument() should return a negative number for > unsupported args, otherwise a separate boolean #supports(arg) method > and a declared IllegalArgumentException from #readArgument() Reviewing this, maybe a bet

Re: Argument Processor "plugin"

2012-08-29 Thread Matt Benson
Comments: - ArgumentProcessor#readArgument() should return a negative number for unsupported args, otherwise a separate boolean #supports(arg) method and a declared IllegalArgumentException from #readArgument() - Prefer e.g. Appendable to StringBuffer in ArgumentProcessor#printUsage() signature, o

Argument Processor "plugin"

2012-08-29 Thread Nicolas Lalevée
I would like to add to Ant the possibility to define custom command line options. This is motivated by the experiment I am doing with the AntDSL and the import model I am trying to revisit (if anybody is interested, at some point I will probably discuss it on easyant-dev, but we can also discus