On 30/07/10 7:44 PM, Hamlet D'Arcy wrote:
My Gradle build script imports someone else's Ant script.
When I run the ant target from the command line with Ant, there is
some console output.
When I run the ant target from within Gradle (ant.myTarget), the
output from the actual Ant task never displays.
I tried running with -d and also calling captureStandardOutput( ), but
I can't get it to work.
Is there a simple solution I am missing?
By default, you will only see logging from Ant which is at Ant's warning
or error levels. Running with -i will show you logging at Ant's info
level, and -d logging at Ant's debug and trace levels (ie everything).
So -d should work for you. Any idea how the logging is generated in the
Ant script?
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email