[hibernate-commits] Hibernate SVN: r10806 - in branches/Branch_3_2/HibernateExt/tools/src: test/org/hibernate/tool/hbm2x testsupport testsupport/formatting

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Nov 14 08:09:18 EST 2006


Author: max.andersen at jboss.com
Date: 2006-11-14 08:09:14 -0500 (Tue, 14 Nov 2006)
New Revision: 10806

Added:
   branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java5
Removed:
   branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java
Modified:
   branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Bungalow.hbm.xml
   branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Passenger.hbm.xml
   branches/Branch_3_2/HibernateExt/tools/src/testsupport/anttest-build.xml
   branches/Branch_3_2/HibernateExt/tools/src/testsupport/javaformattest-build.xml
Log:
javaformat test

Modified: branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Bungalow.hbm.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Bungalow.hbm.xml	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Bungalow.hbm.xml	2006-11-14 13:09:14 UTC (rev 10806)
@@ -18,6 +18,9 @@
         <property name="lastModified" type="timestamp"/>
         <property name="dayFree" type="date"/>
         <property name="timeFree" type="time"/>
+        
+        <many-to-one name="mascot" not-null="true" class="Bungalow"/>
+
 	</class>
 
 </hibernate-mapping>

Modified: branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Passenger.hbm.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Passenger.hbm.xml	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/hbm2x/Passenger.hbm.xml	2006-11-14 13:09:14 UTC (rev 10806)
@@ -24,7 +24,8 @@
             lazy="false"
             update="true"
             insert="true"
-            access="property">
+            access="property"
+            >
             <column name="currentTrainCity"/>
             <column name="currentTrainLine"/>
         </many-to-one>

Modified: branches/Branch_3_2/HibernateExt/tools/src/testsupport/anttest-build.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/testsupport/anttest-build.xml	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/testsupport/anttest-build.xml	2006-11-14 13:09:14 UTC (rev 10806)
@@ -298,7 +298,7 @@
 		<copy file="ejb3test-hibernate.cfg.xml" tofile="${build.dir}/ejb3/classes/ejb3test-hibernate.cfg.xml" />
 
 		<hibernatetool destdir="${build.dir}">
-			<jpaconfiguration persistenceunit="ejb3test"/>
+			<jpaconfiguration persistenceunit="ejb3test" entityresolver="DummyEntityResolver"/>
 			<classpath>
 				<path location="${build.dir}/ejb3/classes" />
 			</classpath>

Deleted: branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java	2006-11-14 13:09:14 UTC (rev 10806)
@@ -1,9 +0,0 @@
-package formatting;
-
- at Override // intentional that his will give compile error.
-public 
-  class 
-    Simple5One {
-
-	
-}

Added: branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java5
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java5	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/testsupport/formatting/Simple5One.java5	2006-11-14 13:09:14 UTC (rev 10806)
@@ -0,0 +1,9 @@
+package formatting;
+
+ at Override // intentional that his will give compile error.
+public 
+  class 
+    Simple5One {
+
+	
+}

Modified: branches/Branch_3_2/HibernateExt/tools/src/testsupport/javaformattest-build.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/testsupport/javaformattest-build.xml	2006-11-14 13:07:51 UTC (rev 10805)
+++ branches/Branch_3_2/HibernateExt/tools/src/testsupport/javaformattest-build.xml	2006-11-14 13:09:14 UTC (rev 10806)
@@ -30,7 +30,7 @@
 	
 	<target name="prepare">
 		<copy todir="${build.dir}">
-		  <fileset dir="." includes="formatting/**/*.java"/>
+		  <fileset dir="." includes="formatting/**/*"/>
 		</copy>
 	</target>
 	
@@ -39,7 +39,7 @@
 				
 		<javaformatter> 
 		   <fileset dir="${build.dir}">
-		   	   <include name="formatting/**/*.java"/>
+		   	   <include name="formatting/**/*"/>
 		   	</fileset>
 		</javaformatter>
 	</target>
@@ -49,7 +49,7 @@
 				
 		<javaformatter configurationfile="emptyconfig.properties"> 
 		   <fileset dir="${build.dir}">
-		   	   <include name="formatting/**/*.java"/>
+		   	   <include name="formatting/**/*"/>
 		   	</fileset>
 		</javaformatter>
 	</target>
@@ -59,7 +59,7 @@
 					
 			<javaformatter> 
 			   <fileset dir="${build.dir}">
-			   	   <include name="formatting/**/*.java"/>
+			   	   <include name="formatting/**/*"/>
 			   	</fileset>
 			</javaformatter>
 	</target>




More information about the hibernate-commits mailing list