Adam Murdoch wrote:


On 12/12/09 7:16 AM, Paul Speed wrote:
I will try a later snapshot later today but note that the issue is somewhat different than what is mentioned in GRADLE-708.

subprojects {
   println( project.name );
}

Works for me even on 11/26's build but:

subprojects.each {
   println( project.name );
}


each() is a Groovy method. There's not much we can do to change how it behaves.


Honestly, that's what I figured. :)

Question: is there any advantage to using that over just subprojects {}? Or am I just making my life harder?

And a more related question, does the bug fix resolve things like:
configure(subprojects.findAll { it.path.lastIndexOf(':') == 0 }) {
    println( project.name );
}


...which as of 11/26 build still prints the 'wrong' project name.
-Paul


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

   http://xircles.codehaus.org/manage_email


Reply via email to