On 21/03/2012 23:25, Peter Niederwieser wrote:
In general, the need for configuring many different properties from the
command line should be considered a smell. It makes the build less
repeatable, less convenient and more error prone. Gradle's philosophy is to
keep as much information as possible in its model and under source control.
Well, then, most Unix command line tools are smelly...
Sometime, I make a Java tool which I want to control with the command
line, at least for quickly testing some different settings. I use
Gradle, among other things, because it allows to easily build a
classpath with various libraries, etc. It is still a better alternative
than shell / cmd scripts.
But not being able to easily specify -o xxx.bin or --exportformat=png
(which are still just kind of properties) on the command line is quite
annoying.
I can understand it is low priority as it cannot be a very common case
(but that's the third thread I see, at least (counting mine...)
expressing this need) and because it is hard to take in account the
various ways to quote parameters on various shells, but that's still
annoying.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- http://PhiLho.deviantART.com
-- -- -- -- -- -- -- -- -- -- -- -- -- --
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email