Hi ,

I have a tar task  which creates a tar of junit report which will be published 
in another location.  All I want to do is,  call this task in test   
irrespective of test failure or success. I tried task.execute() and it doesn't 
seem to work. Am I missing something



task reportsTar(type: Tar ) {
        // from, to  configuration
}


test {
    afterSuite{
        if (!it.parent){    
                reportsTar.execute()
        }
    }
}


Thanks,
Haneef

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

    http://xircles.codehaus.org/manage_email


Reply via email to