Author: max.andersen(a)jboss.com
Date: 2006-09-21 21:32:04 -0400 (Thu, 21 Sep 2006)
New Revision: 10512
Added:
trunk/HibernateExt/tools/src/java/org/hibernate/tool/Version.java
Removed:
trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java
Modified:
trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/TemplateHelper.java
Log:
move displaced Version class
including version bump
Copied: trunk/HibernateExt/tools/src/java/org/hibernate/tool/Version.java (from rev 10260,
trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java)
===================================================================
--- trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java 2006-08-14
14:37:33 UTC (rev 10260)
+++ trunk/HibernateExt/tools/src/java/org/hibernate/tool/Version.java 2006-09-22 01:32:04
UTC (rev 10512)
@@ -0,0 +1,39 @@
+package org.hibernate.tool;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+final public class Version {
+
+ public static final String VERSION = "3.2.0.beta8";
+
+ private static final Version instance = new Version();
+
+ private static Log log = LogFactory.getLog( Version.class );
+
+ static {
+ log.info( "Hibernate Tools " + VERSION );
+ }
+
+ private Version() {
+ // dont instantiate me
+ }
+
+ public String getVersion() {
+ return VERSION;
+ }
+
+ public static Version getDefault() {
+ return instance;
+ }
+
+ public String toString() {
+ return getVersion();
+ }
+
+ public static void touch() {}
+
+ public static void main(String[] args) {
+ System.out.println(new Version());
+ }
+}
Modified: trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/TemplateHelper.java
===================================================================
---
trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/TemplateHelper.java 2006-09-22
01:31:35 UTC (rev 10511)
+++
trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/TemplateHelper.java 2006-09-22
01:32:04 UTC (rev 10512)
@@ -18,6 +18,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.hibernate.tool.Version;
import freemarker.cache.ClassTemplateLoader;
import freemarker.cache.FileTemplateLoader;
Deleted: trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java
===================================================================
--- trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java 2006-09-22
01:31:35 UTC (rev 10511)
+++ trunk/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Version.java 2006-09-22
01:32:04 UTC (rev 10512)
@@ -1,39 +0,0 @@
-package org.hibernate.tool.hbm2x;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-final public class Version {
-
- public static final String VERSION = "3.2.0.beta7";
-
- private static final Version instance = new Version();
-
- private static Log log = LogFactory.getLog( Version.class );
-
- static {
- log.info( "Hibernate Tools " + VERSION );
- }
-
- private Version() {
- // dont instantiate me
- }
-
- public String getVersion() {
- return VERSION;
- }
-
- public static Version getDefault() {
- return instance;
- }
-
- public String toString() {
- return getVersion();
- }
-
- public static void touch() {}
-
- public static void main(String[] args) {
- System.out.println(new Version());
- }
-}
Show replies by date