On Nov 6, 2008, at 5:45 PM, Phil Messenger wrote:




hdockter wrote:

I had a short look at the source code of the Ant Maven tasks, but
there was no obvious way of getting the snapshot string. But I have
found also no way in my earlier Maven builds to get hold of the
snapshot string. Have you?

It would be cool to get the snapshot number. We could parse the log
output if all else doesn't work.


Yup, saw the use of the ant tasks and the lack of useful functions to
retrieve the required info. Is there an easy way to capture the log output?


Nothing really easy yet. You can hook into logback to add an appender. But it would be nice to tell gradle that you want a String with the log for a certain area of execution.

I might come up with something tomorrow. Just out of curiosity. Could you retrieve this number in your Maven builds?

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to