db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb build.xml
Date Thu, 19 Jun 2003 11:27:29 GMT
thma        2003/06/19 04:27:29

  Modified:    .        build.xml
  Log:
  add a new target junit-report that generates an html report from junit output
  
  Revision  Changes    Path
  1.91      +11 -1     db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- build.xml	9 Jun 2003 12:14:03 -0000	1.90
  +++ build.xml	19 Jun 2003 11:27:29 -0000	1.91
  @@ -739,6 +739,7 @@
           	<jvmarg value="-DOJB.bootLogLevel=INFO" />
               <classpath refid="runtime-classpath"/>
               <formatter type="plain" />
  +            <formatter type="xml" />
   
               <test name="org.apache.ojb.broker.AllTests"
                     haltonfailure="no"
  @@ -761,6 +762,15 @@
   
           </junit>
       </target>
  +
  +	<target name="junit-report" depends="" description="create JUnit HTML report, requires
Xalan">
  +		<junitreport todir="target/test">
  +			<fileset dir="target/test">
  +				<include name="tests-*.xml"/>
  +			</fileset>
  +			<report format="frames" todir="target/test"/>
  +		</junitreport>
  +	</target>
   
       <target name="copy-testdb" depends="prepare">
       	<delete file="${build.test}/OJB.properties"/>
  
  
  

Mime
View raw message