Hello again,

I have an analogy and would like to run it past the list to see if it is
accurate.

Consider the following image: http://is.gd/beLWY

Is it a vase, or 2 people looking at each other? Of course, it is both.

For a Gradle build script, it seems to me that there is a similar aspect.

We can partition the code into 2 sets or spaces. One set is inside of tasks:

task hello << {  /* here */ }
task there << { /* and here */ }

and the other is outside of tasks:

println "here"
task t1 << { /* not here */ }

For a single project, is it fair to say that the Configuration phase is the
act of executing the "outside set", and the Executing phase is the act of
executing the "inside set", for selected tasks (and their dependents) ?

I realize this ignores the Initialization phase, and the sense of
dependencies, but I found this to be helpful when looking at a Gradle build
script, and wonder if it has legs to present to an audience. (Refer again to
the image above as a possible illustration.)

thanks again
Michael

-- 
----------------------
Michael Easter
http://codetojoy.blogspot.com -> Putting the thrill back in blog

http://twitter.com/patentlyfalse -> Headlines from another dimension

Reply via email to