Author: nextgens
Date: 2006-01-09 12:49:01 +0000 (Mon, 09 Jan 2006)
New Revision: 7825

Modified:
   trunk/freenet/build.xml
   trunk/freenet/src/freenet/node/Version.java
Log:
fixes a compilation problem with eclipse

Modified: trunk/freenet/build.xml
===================================================================
--- trunk/freenet/build.xml     2006-01-09 11:52:31 UTC (rev 7824)
+++ trunk/freenet/build.xml     2006-01-09 12:49:01 UTC (rev 7825)
@@ -27,7 +27,7 @@

     <echo message="Replacing version string with ${svn.revision}"/>
     <replaceregexp file="${version_file}"
-       match="public static final int buildNumber = SVN_REVISION"
+       match="public static final int buildNumber =[0-9\ ]+;"
        replace="public static final int buildNumber = ${svn.revision} ;"
        byline="true"
     />

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-01-09 11:52:31 UTC (rev 
7824)
+++ trunk/freenet/src/freenet/node/Version.java 2006-01-09 12:49:01 UTC (rev 
7825)
@@ -20,7 +20,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       public static final int buildNumber = SVN_REVISION
+       public static final int buildNumber = 0 ;

        /** Oldest build of Fred we will talk to */
        public static final int lastGoodBuild = 332;


Reply via email to