*) Bugfix for "determineRevisionNr: build.xml:98: SVN entries file does not exist" bug

See: http://www.yacy-forum.de/viewtopic.php?t=2824

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2585 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent c42b011648
commit b5904705ab

@ -71,6 +71,7 @@
<property name="htdocsWWW" location="${data}/HTDOCS/www"/> <property name="htdocsWWW" location="${data}/HTDOCS/www"/>
<property name="release_main" location="${release}/MAIN"/> <property name="release_main" location="${release}/MAIN"/>
<property name="release_ext" location="${release}/EXT"/> <property name="release_ext" location="${release}/EXT"/>
<property name="svnEntriesFile" location=".svn/entries"/>
<!-- determining if the sourcecode of the yacybar is available --> <!-- determining if the sourcecode of the yacybar is available -->
<condition property="yacyBarDirExists"> <condition property="yacyBarDirExists">
@ -83,7 +84,7 @@
<!-- determining if the .svn directory exists --> <!-- determining if the .svn directory exists -->
<condition property="svnEntriesFileExists"> <condition property="svnEntriesFileExists">
<available file=".svn/entries" /> <available file="${svnEntriesFile}" />
</condition> </condition>
<!-- <!--
@ -95,7 +96,7 @@
<taskdef resource="svnRevNrParser.properties" classpath="${lib}/svnRevNr.jar"/> <taskdef resource="svnRevNrParser.properties" classpath="${lib}/svnRevNr.jar"/>
<!-- determine the revision number --> <!-- determine the revision number -->
<svnrevnr file=".svn/entries" property="baseRevisionNr"/> <svnrevnr file="${svnEntriesFile}" property="baseRevisionNr"/>
<!-- replacing the old with the new revision number --> <!-- replacing the old with the new revision number -->
<copy file="build.properties" tofile="build.properties.new"> <copy file="build.properties" tofile="build.properties.new">

Binary file not shown.
Loading…
Cancel
Save