[hibernate-commits] Hibernate SVN: r20929 - entitymanager/branches/v3_3_2_GA_CP.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Apr 8 03:40:36 EDT 2011


Author: stliu
Date: 2011-04-08 03:40:36 -0400 (Fri, 08 Apr 2011)
New Revision: 20929

Modified:
   entitymanager/branches/v3_3_2_GA_CP/build.xml
Log:
JBPAPP-6278 update build scripts of hem and hsearch

Modified: entitymanager/branches/v3_3_2_GA_CP/build.xml
===================================================================
--- entitymanager/branches/v3_3_2_GA_CP/build.xml	2011-04-08 07:20:42 UTC (rev 20928)
+++ entitymanager/branches/v3_3_2_GA_CP/build.xml	2011-04-08 07:40:36 UTC (rev 20929)
@@ -269,7 +269,22 @@
             </classpath>
         </javac>
     </target>
-
+    <target name="junitreport" depends="junit">
+		<taskdef name="junitreport" classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator">
+	        <classpath>
+	            <fileset dir="${hibernate-core.lib.dir}">
+	                <include name="junit-*.jar"/>
+	                <include name="ant-junit-*.jar"/>
+	            </fileset>
+	        </classpath>
+		</taskdef>
+        <junitreport todir="${build.dir}/test_output">
+            <fileset dir="${build.dir}/test_output">
+                <include name="TEST-*.xml"/>
+            </fileset>
+            <report format="frames" todir="${build.dir}/test_output"/>
+        </junitreport>
+    </target>
     <target name="junit" depends="compiletest,test-resources">
         <mkdir dir="${build.dir}/test_output"/>
         <mkdir dir="${classes.dir}/META-INF/services"/>



More information about the hibernate-commits mailing list