Hi Szczepan (ziomal)
I was afraid to hear that :(
Anyway, JIRA created http://issues.gradle.org/browse/GRADLE-1691
Cheers, Greg


On 25 Jul 2011, at 19:59, Szczepan Faber wrote:

> Greg, at this moment only tasks are exposed as build parameters in the
> tooling api. So you cannot easily pass parameters. Can you file a jira
> issue to address that?
> 
> Cheers!
> 
> On Fri, Jul 22, 2011 at 12:37 PM, Grzegorz Gigon <[email protected]> wrote:
>> Thanks for that Rene
>> How do I pass the parameters to a build (project parameters that I pass
>> through command line with -P) ?
>> I got as far as:
>> GradleConnector.newConnector().connect().newBuild().forTasks('tasks').run()
>> and it works fine.
>> I need to call another task that takes a bunch of parameters though. Is it
>> through one of the models? If so, which one?
>> (GradleConnector.newConnector().connect().getModel(??) )
>> Cheers, Greg
>> On 21 Jul 2011, at 19:53, Rene Groeschke wrote:
>> 
>> 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
>> 
>> 
>> 
>> 
>> --
>> 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
>> 
> 
> 
> 
> -- 
> Szczepan Faber
> Principal engineer@gradleware
> Lead@mockito
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

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

Reply via email to