[gradle-user] Is it possible to execute imported tasks Verbose from Gradle?

2011-10-18 Thread marcellodesales
Hi all, I have 3 long-running tasks imported (oahu-jar, client-sdk, common) from an ANT script as shown below: These ANT tasks have rich output in the stdout when they are executed. However, the output of all of them are somehow suppressed when executed from Gradle... Is there a way to get

[gradle-user] Is there any way to pass gradle JVM options from command line? (without GRADLE_OPTS env var)

2011-10-18 Thread davide.cavestro
Hi guys, I need to control the maximum heap size for my gradle builds on jenkins, and it's not so easy to specify it the usual way (through the environment variable GRADLE_OPTS or JAVA_OPTS). So I'd like to pass something like -Xmx1024m as a gradle launch parameter, but I've not found yet the

Re: [gradle-user] Is there any way to pass gradle JVM options from command line? (without GRADLE_OPTS env var)

2011-10-18 Thread Adam Murdoch
One option is to use the wrapper, and edit the wrapper script to add in these options. On 18/10/2011, at 8:06 PM, davide.cavestro wrote: Hi guys, I need to control the maximum heap size for my gradle builds on jenkins, and it's not so easy to specify it the usual way (through the

[gradle-user] Re: Is there any way to pass gradle JVM options from command line? (without GRADLE_OPTS env var)

2011-10-18 Thread davide.cavestro
Adam Murdoch wrote: One option is to use the wrapper, and edit the wrapper script to add in these options. Hi Adam, many thanks for your promptness!!! I'll give it a try soon, even for getting the other advantages of the wrapper approach. Nonetheless I think it could be very useful having a

[gradle-user] Re: Is it possible to execute imported ANT tasks in a more verbose mode from Gradle?

2011-10-18 Thread TheKaptain
By default Gradle masks a lot of console output, both for its own task and any imported ant tasks. You can enable successively higher levels of logging with the -i (info) and -d (debug) flags when running the tasks. You should be able to run your task by wrapping the name in quotes :

Re: [gradle-user] Need some help with tricky Gradle subprojects / upload to Nexus

2011-10-18 Thread Luke Daley
On 13/10/2011, at 9:29 PM, Howard Lewis Ship wrote: On Thu, Oct 13, 2011 at 11:13 AM, Peter Niederwieser pnied...@gmail.com wrote: Howard Lewis Ship wrote: Is there an easy way to add the uploadPublished task even without making quickstart an java module? The

Re: [gradle-user] War plugin evolution and overlays

2011-10-18 Thread Luke Daley
On 05/10/2011, at 10:00 AM, davide.cavestro wrote: As a complex use case, one could think about a way to obtain war overlay for gradle projects with a complete integration in a ide (we use eclipse/STS). We'd need a way to do war overlay that still let the tooling api (through gradle eclipse

[gradle-user] Re: Is it possible to execute imported ANT tasks in a more verbose mode from Gradle?

2011-10-18 Thread marcellodesales
Hi TheKaptain, The flags -i and -d are logging leves for Gradle, not for the imported ANT tasks... I'm looking for the output of the imported tasks, as they output stuff the the stdout... The switch -i printed information about the build script: I was trying to use execute() as the execution

[gradle-user] Re: Is it possible to execute imported ANT tasks in a more verbose mode from Gradle?

2011-10-18 Thread TheKaptain
Yes, the effect of the flags on logging is global, so it also includes the output from your ant tasks. It looks like it's wrapped with org.gradle.api.internal.project.ant.AntLoggingAdapter so you can differentiate what's coming from Ant directly. -- View this message in context: