bmuschko/gradle-cargo-plugin — pull request #33 by dwelte (2013-02-09 19:47:29+00:00)
Title: Letting the "Press Ctrl-C to stop the container..." message through

Hi,

We've been using your plugin at work (thanks!) and it's been really helpful. One thing we've been missing is the "Press Ctrl-C to stop the container..." message that comes up in the maven and ant tasks when you run locally. This pull request adds a listener at the start of the task that listens for info level ant task messages from the cargo tasks and logs them at the lifecycle priority level in gradle. It then is removed at the end of task, since the ant Project used is the same between tasks. It also only logs messages from the task thread, so that is parallel build safe. I tested it on tomcat local and jetty local and remote. Thanks again!

- David