From c13411c19800b5127413a79475a4e8fed3a718b4 Mon Sep 17 00:00:00 2001 From: allo Date: Fri, 15 Apr 2005 13:50:42 +0000 Subject: [PATCH] Buildfile which inserts the Date. The Version is set in the source; so it will be correct if you check old versions out. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@21 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- build.xml | 11 +++++++++++ source/yacy.java | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index e9befbe6c..540f048bc 100644 --- a/build.xml +++ b/build.xml @@ -18,6 +18,15 @@ + + + + + + + + + @@ -30,6 +39,8 @@ + + diff --git a/source/yacy.java b/source/yacy.java index eca12829c..e6e40d33e 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -78,8 +78,8 @@ import de.anomic.yacy.*; public class yacy { // static objects - private static final String vString = "<>"; - private static final String vDATE = "<>"; + private static final String vString = "0.361"; + private static final String vDATE = "@REPL_DATE@"; private static final String copyright = "[ YACY Proxy v" + vString + ", build " + vDATE + " by Michael Christen / www.yacy.net ]"; private static final String hline = "-------------------------------------------------------------------------------";