Is there any good reason to configure a DefaultTask? Can this give some warning since it is most likely a mistake and the user probably meant "<<".

Hans Dockter wrote:

On Jul 19, 2009, at 10:57 AM, Russel Winder wrote:

On Sat, 2009-07-18 at 21:12 -0400, John Murph wrote:
I raised this subtle syntax as a concern when Gradle was switching to
the new task DSL.  I didn't (and still don't) like that "<<" has such
significance (and yet very little syntactic weight).  The problem was,
I didn't really have a good suggestion, so I was mostly just crying
foul without any real alternative.  Do you have a suggestion on a
better (more obvious) syntax?

I failed to follow the argument about all this when it happened.  I am
trying to jump from a 0.5.2 mindset to a 0.7 mindset and it is hurting.

But I can remember your email about the new << syntax :)


I guess the best thing to do would be to delete all my Gradle files
completely and restart from scratch.

The changes are tiny.

Replace:

<taskName> {
}

with

<taskName> << {
}

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




--
Steve Appling
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to