[ http://jira.codehaus.org/browse/MNG-1545?page=comments#action_73549 ] Milos Kleint commented on MNG-1545: -----------------------------------
brett: I've done some additional debugging of the surefire plugin problem and I tracked it down the StreamPumper classes that print messages from the forked process to the System.out of the IDE's process. However the delegating System.out impl in the IDE doesn't recognize these threads (StreamPumper is a running thread) as belonging to build being executed and prints them to console. I believe it's because the threads don't belong to the same ThreadGroup. I tried to confirm the theory but surefire cannot be used with the trunk version of plexus-utils. please note that even when this is fixed, it still doens't fully satisfy the issues mentioned in this report. In the ideal case one should get the output in the logger/llisteners, which is not the case now and it will only be cought by the IDE's safety net. But it cannot be filtered out, have actions attached to it etc.. > some execution output not routed through default routes. > -------------------------------------------------------- > > Key: MNG-1545 > URL: http://jira.codehaus.org/browse/MNG-1545 > Project: Maven 2 > Issue Type: Bug > Components: Embedding > Reporter: Milos Kleint > Priority: Critical > Fix For: 2.0.5 > > > when running embedded maven I create an instance of EventMonitor, > TransferListener and MavenEmbedderLogger. > however there's still some output that is not received through these means, > but rather printoed to standard output (I suppose) > that's wrong because it prohibits custom handling of output. > one example that I found is the surefire plugin's output.. everything > prepended with [surefire] is printed out wrongly.. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira