Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix for "determineRevisionNr: build.xml:98: SVN entries file does not exist" bug See: http://www.yacy-forum.de/viewtopic.php?t=2824

thelib5904705aba5
diff --git a/build.xml b/build.xml
index 72881b5f2..1453f974e 100644
--- a/build.xml
+++ b/build.xml
@@ -71,6 +71,7 @@
<property name="htdocsWWW" location="${data}/HTDOCS/www"/>
<property name="release_main" location="${release}/MAIN"/>
<property name="release_ext" location="${release}/EXT"/>
+<property name="svnEntriesFile" location=".svn/entries"/>
<!-- determining if the sourcecode of the yacybar is available -->
<condition property="yacyBarDirExists">
@@ -83,7 +84,7 @@
<!-- determining if the .svn directory exists -->
<condition property="svnEntriesFileExists">
- <available file=".svn/entries" />
+ <available file="${svnEntriesFile}" />
</condition>
<!--
@@ -95,7 +96,7 @@
<taskdef resource="svnRevNrParser.properties" classpath="${lib}/svnRevNr.jar"/>
<!-- determine the revision number -->
- <svnrevnr file=".svn/entries" property="baseRevisionNr"/>
+ <svnrevnr file="${svnEntriesFile}" property="baseRevisionNr"/>
<!-- replacing the old with the new revision number -->
<copy file="build.properties" tofile="build.properties.new">
diff --git a/lib/svnRevNr.jar b/lib/svnRevNr.jar
index b7f2b52ca..1e53ec372 100644
Binary files a/lib/svnRevNr.jar and b/lib/svnRevNr.jar differ