You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Glenn Adams <gl...@skynav.com> on 2012/03/01 00:37:12 UTC

minor build.xml improvements

in the prior CS patch commit [1], two minor improvements were made to
build.xml [2], which I'd like to communicate to the group:

*junit output formatting*

(1) added definition of properties to control junit output formatting:

   - junit.printsummary (defaults to off)
   - junit.formatter.brief (defaults to on)

the defaults produce the same output as was previously the case; however,
if you override these in you build-local.properties file, then you can
reduce the console output; i set these properties in my
build-local.properties file to:

junit.printsummary = on
junit.formatter.brief = off

which produces just the right amount for me; note that the full output is
still produced under build/test-reports/*.{txt,xml};

see the documentation at [3] for more info on the printsummary parameter
and the 'brief' formatter;

*local targets import*

(2) local targets can be defined in an optional file
build-local.targets.xml, using the ant import task [4];


[1] http://svn.apache.org/viewvc?view=revision&revision=1293736
[2]
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/build.xml?r1=1293736&r2=1293735&pathrev=1293736&diff_format=h
[3] http://ant.apache.org/manual/Tasks/junit.html
[4] http://ant.apache.org/manual/Tasks/import.html