You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/07/21 21:55:08 UTC

svn commit: r424437 - in /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include: version.h version_svn_tag.h version_svn_tag_orig.h

Author: geirm
Date: Fri Jul 21 12:55:08 2006
New Revision: 424437

URL: http://svn.apache.org/viewvc?rev=424437&view=rev
Log:
modify so that we can stamp the binary with the 
svn rev it's made from.  Should reduce the 
pandemonium a little...

Added:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h   (with props)
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h   (with props)
Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version.h

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version.h?rev=424437&r1=424436&r2=424437&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version.h Fri Jul 21 12:55:08 2006
@@ -20,6 +20,8 @@
 #ifndef _VERSION_H
 #define _VERSION_H
 
+#include "version_svn_tag.h"
+
 // These macros are automatically updated upon commit.
 // PLEASE DO NOT TOUCH
 #define PATCH_BRANCH "DRLVM HEAD"
@@ -67,8 +69,9 @@
 
 #define VM_VERSION "Apache Harmony HEAD"
 
-#define VERSION "java version \"1.5.0\" \n" "pre-alpha : not complete or compatible\n" VM_VERSION " (" __DATE__ "), " \
-    VERSION_OS "/" VERSION_ARCH "/" VERSION_COMPILER ", " VERSION_DEBUG_STRING "\n" \
+#define VERSION "java version \"1.5.0\" \n" "pre-alpha : not complete or compatible\n" \
+    "svn = r" VERSION_SVN_TAG ", (" __DATE__ "), " \
+    VERSION_OS "/" VERSION_ARCH "/" VERSION_COMPILER ", " VERSION_DEBUG_STRING " build\n" \
     "http://incubator.apache.org/harmony"
 
 #endif // _VERSION_H

Added: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h?rev=424437&view=auto
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h (added)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h Fri Jul 21 12:55:08 2006
@@ -0,0 +1,22 @@
+/*
+ *  Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  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.
+ */
+
+#ifndef _VERSION_SVN_TAG_
+#define _VERSION_SVN_TAG_
+
+#define VERSION_SVN_TAG  "unknown"
+
+#endif // _VERSION_SVN_TAG_

Propchange: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h?rev=424437&view=auto
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h (added)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h Fri Jul 21 12:55:08 2006
@@ -0,0 +1,22 @@
+/*
+ *  Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  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.
+ */
+
+#ifndef _VERSION_SVN_TAG_
+#define _VERSION_SVN_TAG_
+
+#define VERSION_SVN_TAG  "@svn.revision@"
+
+#endif // _VERSION_SVN_TAG_

Propchange: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/include/version_svn_tag_orig.h
------------------------------------------------------------------------------
    svn:eol-style = native