On Tue, Mar 9, 2010 at 2:40 PM, Tomek Kaczanowski <
[email protected]> wrote:

> Hello All,
>
> in my build.gradle I have a section which generates tasks, something like:
> [1, 2, 3, 4, 5].each { wpsNb ->
>    task "testWp${wpsNb}" (description: "run Wp${wpsNb} tests”) << {
>         // some logic here
>   }
> }
>
> which generates tasks testWp1 to testWp5. Is it possible to see my
> build.gradle after these tasks are generated ?
>
> What I would like to have is a functionality similar to mvn
> help:effective-pom which prints out the pom.xml that will be executed
> (so you don't get lost in profiles etc)
>

That would be a mapping of dynamic stuff to source code. Like having a loop
from 1 to 10 that assigns to an array and then mapping it to 10 statements
that do that.

You can always do a dry-run with -m to see what tasks actually gets
executed. We might add some further reports besides -t in the future to
provide more information for a particular set up. May be a full DAG graph
output.

- Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz



>
> --
> Regards / Pozdrawiam
> Tomek Kaczanowski
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to