Hello,

I found a problem in jelly's handling of Ant tags : Jelly does not redirect stdout and stderr to the target Ant Tag.

I created the defect http://issues.apache.org/jira/browse/JELLY-209 and provided a patch that can easily be applied to Maven. It is packaged in a jar (only a patched version of org.apache.commons.jelly.tags.ant.AntTag) that can be copied in $MAVEN_HOME/lib.
Thanks to this patch, I have <system-out> and <system-err> elements filled in my TEST-xxx.xml files. I I want to also display output in the console, I have to set JUnit task attribute showoutput to "true".


This problem seems related to MPTEST-14 "Test output always occurs when building".

   Hope this help,

   Cyrille

------------------------------------
Cyrille Le Clerc
email  : [EMAIL PROTECTED]
------------------------------------

Cyrille Le Clerc wrote:

   Hello,

When I run my test goal with MyTest.java, I can not find in TEST-MyTest.xml the output of SystemOut and SystemErr. Instead, I have empty elements <system-out><![CDATA[]]></system-out> <system-err><![CDATA[]]></system-err> .

   I try to play with junit task parameters without success.

   Does anyone have a clue ?

   Thanks in advance,

   Cyrille

------------------------------------
Cyrille Le Clerc
email  : [EMAIL PROTECTED]
------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
------------------------------------
Cyrille Le Clerc
email  : [EMAIL PROTECTED]
      : [EMAIL PROTECTED]
mob    : 33 6 61 33 69 86
office : 33 1 49 05 69 78
------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to