incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 31059 - incubator/depot/trunk/update/src/java/org/apache/depot/update/version
Date Sat, 31 Jul 2004 22:17:34 GMT
Author: nickchalko
Date: Sat Jul 31 15:17:34 2004
New Revision: 31059

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/version/Version.java
Log:
The new Version Stamp.  Soon we will not check this file in.

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/version/Version.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/version/Version.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/version/Version.java	Sat
Jul 31 15:17:34 2004
@@ -1,63 +1,77 @@
-/* 
- *
- * NOTE: Automatically Generated File (see Apache Version)
- * NOTE: http://www.apache.org/
- * NOTE: Ant Task: version-stamp
- * NOTE: AntLib:   apache-version
- *
- * $Header: Version.java $
- *
- */
-package org.apache.depot.update.version;
 
+/*
+ * DO NOT CHECK IN.
+ * This is a autogenerated file.  
+ */
+package org.apache.depot.update.version; 
 
-import java.util.Map;
-import java.util.HashMap;
+import java.util.Date;
 
 /**
- *
- * A autogenerated Version class for "org.apache.depot.update".
- *
- *
- * @author org.apache.depot.version.generation.source.DependentVersionMarkerClassGenerator
1.0.0-alpha
- * @version 0.1.-1, generated on Thu Jul 29 14:12:34 PDT 2004
+ * org.apache.depot.update version 0.1-dev-20040731 .
+ * Generated at Sat Jul 31 15:05:49 PDT 2004 
+ * on GABRIEL/192.168.57.231
+ * by nick
+ * @author <a href="http://incubator.apache.org/depot">Depot Version</a> 
+ *         from the <a href="http://incubator.apache.org/">Apache Incubator</a>,

+           version 0.1-dev-20040731
+ * @version 0.1-dev-20040731
  */
-public class Version extends org.apache.depot.version.impl.ApacheVersionMarker {
+public final class Version {
+	private final static  Version INSTANCE = new  Version();
+	
+	public static Version getInstance() {return INSTANCE ;}
+	
+	private  Version()  {}
+	
+	/**
+	 * The user that built org.apache.depot.update was nick.
+	 * @return the String "nick"
+	 */
+	public String getUser() {return "nick"; }
+	
+		
+	/**
+	 * org.apache.depot.update was built on GABRIEL/192.168.57.231.
+	 * @return the String "GABRIEL/192.168.57.231"
+	 */
+	public String getHost() {return "GABRIEL/192.168.57.231"; }
+	
+	/**
+	 * org.apache.depot.update was built at Sat Jul 31 15:05:49 PDT 2004.
+	 * @return the Date "Sat Jul 31 15:05:49 PDT 2004"
+	 */
+	public Date getDate() {return new Date(1091311549196l); }
+	
+	/**
+	 * The ID of the Version Specification.
+	 * @return ID of the Version Specification.
+	 * @see org.apache.depot.version.specification.VersionSpecificationFactory
+	 */
+	public String getSpecificationId(){return "org.apache.depot.version";} 
+	
+	
+	/**
+	 * org.apache.depot.update 0.1.
+	 * @return the String "0.1"
+	 */
+	public String getShortVersion() {return "0.1";}
+	
+	/**
+	 * org.apache.depot.update 0.1-dev-20040731.
+	 * @return the String "0.1-dev-20040731"
+	 */
+	public String getLongVersion() {return "0.1-dev-20040731";}
 
-    public final static Version INSTANCE = new Version();
-    
-    /**
-     * Version 'Stamp'.
-     */
-    public Version()
-        {
-            super(
-                "org.apache.depot.update",
-                new org.apache.depot.version.impl.ApacheVersion(
-                    0,
-                    1,
-                    org.apache.depot.version.impl.data.ReleaseLevel.DEVELOPMENT,
-                    -1,
-                    -1
-                    )
-                );
-            
-            Map attributes = new HashMap();
-            
-            attributes.put("org.apache.version.build.ant","Apache Ant version 1.6.0 compiled
on December 18 2003");
-            attributes.put("org.apache.version.build.host","SAC2K-NickC");
-            attributes.put("org.apache.version.build.user","NChalko");
-            attributes.put("org.apache.version.build.datetime",new java.util.Date(1091135553776L));
-            attributes.put("org.apache.version.build.jvm","1.4.2_03-b02");
-            
-            try { 
-            importProperties(attributes);
-             } catch ( Exception e ) {
-            }
-        }
-        
-        public static final org.apache.depot.version.VersionMarker getInstance() {
-            return INSTANCE;
-        }
-        
-    } 
+	/**
+	 * org.apache.depot.update 0.1-dev-20040731.
+	 * @return the String "0.1-dev-20040731"
+	 */
+	public String getDefaultVersion() {return "0.1-dev-20040731";}	
+	
+	/**
+	 * org.apache.depot.update 0.1-dev-20040731.
+	 * @return the String "0.1-dev-20040731"
+	 */
+	public String toString() {return "0.1-dev-20040731";}
+}    
\ No newline at end of file

Mime
View raw message