Am 12.01.11 01:40, schrieb Rene Groeschke:
> Hi,
> Am 12.01.11 00:50, schrieb Sean Van Buggenum:
>> Hi Rene, thanks for the reply.
>>
>> "Everything not enclosed a
>> doLast or doFirst closure is executed during the configuration phase."
>>
>> The configuration phase. This is the configuration phase for the
>> project, not the task right?
>> And there is no separate configuration phase for each task, right?
>> Only the project?
>> I ask because as a test I combined two of the previous examples I
>> posted before into one gradle build file, and tested.
>>
>> build.gradle:
>> -----------------------------
>> task gotcha {
>>
>>     println 'do it then!'
>>
>>     doLast {
>>         println 'goodbye world'
>>     }
>>
>>     println 'do it now!'
>>
>>     doFirst {
>>       println 'Hello world!'
>>
>>     }
>> }
>>
>> task hello << {
>>     println 'Hello Earth'
>> }
>> hello.doFirst {
>>     println 'Hello Venus'
>> }
>> hello.doLast {
>>     println 'Hello Mars'
>> }
>> hello << {
>>     println 'Hello Jupiter'
>> }
>> --------------------------------------
> As mentioned in
> "http://gradle.org/0.9.1/docs/userguide/build_lifecycle.html";, the
> configuration phase configures the objects of the project. This includes
> the tasks of the object. 
Apologizes. I'm already a bit tired :-) . Of course I meant this
includes the tasks of the project.

-- 
------------------------------------
Rene Groeschke

[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------


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

    http://xircles.codehaus.org/manage_email


Reply via email to