[hibernate-commits] Hibernate SVN: r15397 - branches/Branch_3_2/HibernateExt/tools.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Oct 27 06:57:23 EDT 2008


Author: max.andersen at jboss.com
Date: 2008-10-27 06:57:23 -0400 (Mon, 27 Oct 2008)
New Revision: 15397

Modified:
   branches/Branch_3_2/HibernateExt/tools/build.xml
Log:
better junit init

Modified: branches/Branch_3_2/HibernateExt/tools/build.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/build.xml	2008-10-27 10:56:44 UTC (rev 15396)
+++ branches/Branch_3_2/HibernateExt/tools/build.xml	2008-10-27 10:57:23 UTC (rev 15397)
@@ -15,6 +15,8 @@
 
 	<import file="../common/common-build.xml"/>
 	
+	<property name="jdbc.driver.jar" location="lib/jdbc/hsqldb.jar"/>
+	
 	<path id="testsrc.path">
 		<pathelement location="${test.dir}"/>
 		<pathelement location="src/testsupport"/>
@@ -23,7 +25,7 @@
     <path id="junit.moduleclasspath">
     	   <pathelement location="etc"/>
            <pathelement location="lib/testlibs/org.eclipse.jdt.core_3.1.0.jar"/>   
-    	   <pathelement location="${hibernate-core.jdbc.dir}/hsqldb.jar"/>
+    	   <pathelement location="${jdbc.driver.jar}"/>
      	   <path refid="testsrc.path"/>
     	   <pathelement location="${java.home}\..\lib\tools.jar"/>
     </path>
@@ -37,7 +39,11 @@
     </target>
 
 
-	
+	<target name="junit">
+		 <delete dir="testdb" failonerror="yes"/>
+		 <antcall target="common-build.junit"/>
+	</target>
+		
 	<target name="compile" depends="common-build.compile">
 		<copy todir="${classes.dir}">
 			<fileset dir="${template.dir}"/>




More information about the hibernate-commits mailing list