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 30947 - incubator/depot/trunk/update/src/java/org/apache/depot/update/version
Date Thu, 29 Jul 2004 21:13:40 GMT
Author: nickchalko
Date: Thu Jul 29 14:13:40 2004
New Revision: 30947

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/version/Version.java
Log:
Genereated file,  but it does not compile.  I will have to update version.

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	Thu
Jul 29 14:13:40 2004
@@ -1,36 +1,65 @@
-/*
- * Copyright  2004 The Apache Software Foundation
+/* 
+ *
+ * NOTE: Automatically Generated File (see Apache Version)
+ * NOTE: http://www.apache.org/
+ * NOTE: Ant Task: version-stamp
+ * NOTE: AntLib:   apache-version
+ *
+ * $Header: Version.java $
  *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
  */
 package org.apache.depot.update.version;
 
-import org.apache.depot.version.impl.ApacheVersionMarker;
-import org.apache.depot.version.impl.data.ReleaseLevel;
 
+import java.util.Map;
+import java.util.HashMap;
 
 /**
- * Manual versioning..
+ *
+ * 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
  */
-public class Version extends ApacheVersionMarker {
-	
-	public final static Version VERSION = new Version();
+public class Version extends org.apache.depot.version.impl.ApacheVersionMarker {
 
-	private Version() {
-		super(Version.class.getName(),1,1,ReleaseLevel.ALPHA,00001);
-	}
-	
-	public static void main(String[] args) {
-		System.out.print(VERSION.getLongVersion());
-	}
-}
\ No newline at end of file
+    public final static Version INSTANCE = new Version();
+    
+    /**
+     * Version 'Stamp'.
+     */
+    public Version()
+        {
+            super(
+                "org.apache.depot.update",
+                new org.apache.depot.version.impl.data.VersionData(
+                    0,
+                    1,
+                    org.apache.depot.version.impl.data.ReleaseLevel.DEVELOPMENT,
+                    -1,
+                    -1,
+                    20040729
+                    )
+                );
+            
+            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 { 
+            importFromProperties(attributes);
+             } catch ( Exception e ) {
+            }
+        }
+        
+        public static final org.apache.depot.version.VersionMarker getInstance() {
+            return INSTANCE;
+        }
+        
+        
+    } 

Mime
View raw message