summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-09-17 09:06:25 +0000
committermichelou <michelou@epfl.ch>2011-09-17 09:06:25 +0000
commit3b48cc7fe0facd63224eacb5f7113213ffb7bfe3 (patch)
treef8a5578659146ded6ef51a095993cedc87acfbe5 /build.xml
parentbd2381d654fb6affcd414f6089468cf3ca2f780d (diff)
downloadscala-3b48cc7fe0facd63224eacb5f7113213ffb7bfe3.tar.gz
scala-3b48cc7fe0facd63224eacb5f7113213ffb7bfe3.tar.bz2
scala-3b48cc7fe0facd63224eacb5f7113213ffb7bfe3.zip
Get svn revision on Windows
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 9447528a24..d4ec4b87af 100644
--- a/build.xml
+++ b/build.xml
@@ -221,9 +221,10 @@ INITIALISATION
<condition property="os.win">
<os family="windows"/>
</condition>
-
+
<exec osfamily="unix" executable="tools/get-scala-revision" outputproperty="svn.number" failifexecutionfails="false" />
- <!-- some default in case something went wrong getting the revision -->
+ <exec osfamily="windows" executable="tools/get-scala-revision.bat" outputproperty="svn.number" failifexecutionfails="false" />
+ <!-- some default in case something went wrong getting the revision -->
<property name="svn.number" value="0"/>
<property name="init.avail" value="yes"/>