On Fri, 2009-08-14 at 15:36 -0400, Steve Appling wrote:
> Do you actually have an empty build.gradle in the subproject?  I think in our 
> similar cases we have not had any build.gradle in the subproject and used the 
> Project.subprojects method to configure it.

Yes the modules have no build.gradle -- Gradle, unlike Maven has the
ability to have the whole of the build specification in the top-level
specification file -- at least that is what the documentation says.
However I am getting the following.  So there is recognition that there
is no build file in the project directory, but then it is failing for
exactly that reason :-(

It may be that someone who knows what they are doing could read the Gant
build.gradle and spot the problem instantly.


        |> gradle -i :groovy1.5
        Starting Build
        Settings evaluated using settings file 
'/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/settings.gradle'.
        Projects loaded. Root project using build file 
'/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/build.gradle'.
        Included projects: [root project 'Trunk_Development', project 
':groovy1.5', project ':groovy1.6', project ':groovy1.7']
        Evaluating project : using build file 
'/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/build.gradle'.
        :: loading settings :: url = 
jar:file:/home/users/russel/lib/Java/gradle/lib/ivy-2.1.0-rc2.jar!/org/apache/ivy/core/settings/ivysettings.xml
        :: resolving dependencies :: unspecified#Trunk_Development;unspecified
                confs: [classpath]
        :: resolution report :: resolve 376ms :: artifacts dl 0ms
                
---------------------------------------------------------------------
                |                  |            modules            ||   
artifacts   |
                |       conf       | number| search|dwnlded|evicted|| 
number|dwnlded|
                
---------------------------------------------------------------------
                |     classpath    |   0   |   0   |   0   |   0   ||   0   |   
0   |
                
---------------------------------------------------------------------
        Evaluating project :groovy1.5 using empty build file.
        
        Build failed with an exception.
        Run with -s or -d option to get more details. Run with -f option to get 
the full (very verbose) stacktrace.
        
        Empty build file
        
        A problem occurred evaluating project ':groovy1.5'.
        Cause: java.lang.NullPointerException (no error message)
        
        BUILD FAILED
        
        Total time: 8.164 secs

-- 
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