Gant uses a single top-level Gradle file for all the "projects" -- each
project is just a variant build of the same source code.  This means
there are a number of calls to the project function each with a string
and closure.  It all seems to work well except that it seems the project
is using a clone of the original binding from the Gradle build script.
This means that:

aList = [ ]

project ( 'flob' ) {
        . . . 
        aList << 'burble'  //  aList is defined but it is not the aList
above . . .
        . . . 
}

//  At no point down here will aList contain the 'burble'.
//  This is very counter-intuitive ! 

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to