On Aug 21, 2009, at 12:59 AM, Adam Murdoch wrote:
It seems to me that any useful punctuation character, other than
'-', is pretty much taken already.
An alternative might be to use a command-line option for excluding
tasks:
gradle developerBuild -x test -x check
gradle developerBuild -x test,check
Having used the nnn- format for a few days, I'm pretty happy with
it. It works ok. And the behaviour is so very much better than the
old -Dskip.nnn behaviour.
I also like it very much. The only thing I'm wondering about is
whether we can't use - as a prefix and then distinguish by the
argument length (1 means options, >1 taskname). For the rare 1-digit
task names we can define the rule, that in this case options with
similar name must not be at the end.
Advantage:
- It is more intuitive and nicer to read.
Disadvantage:
- More complicated to implement.
- Some people might confuse it with options (not sure).
- Has some corner cases.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email