Reverted to old slightly-less-broken scheme for guessing SVN revision number.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9838 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
7b6f57e6a5
commit
3a80868546
|
@ -138,7 +138,14 @@ INITIALISATION
|
|||
<contains string="${java.version}" substring="1.4"/>
|
||||
</condition>
|
||||
<!-- Finding out SVN revision -->
|
||||
<exec executable="svnversion" outputproperty="svn.number"/>
|
||||
<loadfile
|
||||
property="entries"
|
||||
srcFile="${basedir}/.svn/entries"
|
||||
failonerror="false"/>
|
||||
<propertyregex
|
||||
property="svn.number" input="${entries}" select="\1"
|
||||
regexp="revision=\042([0-9]*)\042\.*"
|
||||
defaultValue="x"/>
|
||||
<property name="init.avail" value="yes"/>
|
||||
<!-- Printing out some information about what environment I am running in -->
|
||||
<echo level="info"
|
||||
|
|
Loading…
Reference in New Issue