Hi,

A general hint. In my opinion, you should use gradles tooling-api for these 
little applications as this is the recommended interface. have a look at this 
example in the gradle codebase 
GradleDistribution:https://github.com/gradle/gradle/blob/master/subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/tooling/SamplesToolingApiIntegrationTest.groovy

regards,
René
--
Rene Groeschke

Email:  [email protected]
twitter: @breskeby
Blog:    http://www.breskeby.com

Am 21.07.2011 um 16:34 schrieb Max Garmash <[email protected]>:

> Same problem here.
> http://gradle.1045684.n5.nabble.com/Additional-logging-appenders-td4610854.html
> Tried to implement some listeners as written in documentation but with
> no luck. As a temporary solution I redirect stdout to log file.
> 
> On Thu, Jul 21, 2011 at 20:26, Grzegorz Gigon <[email protected]> wrote:
>> I have a little release application that is using Gradle (via
>> GradleLauncher).
>> I would like to intercept all the stuff that it spits into a screen and
>> redirect it into the file.
>> Is there a way of doing it?
>> Tried the StandardOutputListener by implementing one and adding via
>> launcher.useLogger()  with no luck.
>> Cheers, Greg
>> --
>> Grzegorz Gigon
>> http://greggigon.com
>> http://www.linkedin.com/in/greggigon
>> Twitter: gregorygigon
>> 
>> "You see, wire telegraph is a kind of a very, very long cat. You pull his
>> tail in New York and his head is meowing in Los Angeles. Do you understand
>> this? And radio operates exactly the same way: you send signals here, they
>> receive them there. The only difference is that there is no cat."
>>      Albert Einstein, when asked to describe radio
>> 
> 
> 
> 
> -- 
> WBR, Max Garmash
> 
> www.garmash.org
> +7 (922) 622-18-08
> skype: max.garmash
> xmpp/gtalk/jabber: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 
> 

Reply via email to