MOTIVATION: * be able to generate xml logs from JUnit tests (can then be transformed to html) * reuse as much code as available IMPLEMENTATION: * added <property name="junit.formatter.type" value="plain"/> * added <property name="junit.formatter.extension" value=".txt"/> * removed the default '.txt' junit logs extension * changed the junit <formatter> to use junit.formatter.{type|extension} properties USAGE: * custom build file including the original one: <project name="importing" basedir="." default="deploy"> <import file="build.xml"/> <target name="test-xml"> <antcall target="test"> <param name="junit.formatter.type" value="xml"/> <param name="junit.formatter.extension" value=".xml"/> </antcall> </target> </project> Patch based on 'trunk' branch revision 1205789 Please change the 'Component' field if necessary. 'Packaging' seemed to be the most appropriate for build.xml changes.
Created attachment 27979 [details] the patch re-attaching the patch, it failed to create at bug submission
Patch applied to trunk and 7.0.x and it will be included in 7.0.24 onwards. Many thanks for the patch.
With r1229314 I added one more configurable property to this: junit.formatter.usefile It will be in 7.0.24 as well.