@@ -257,13 +257,10 @@ INITIALISATION
257257 </condition >
258258
259259 <exec osfamily =" unix" executable =" tools/get-scala-commit-sha" outputproperty =" git.commit.sha" failifexecutionfails =" false" />
260- <exec osfamily =" windows" executable =" tools/get-scala-commit-sha.bat" outputproperty =" git.commit.sha" failifexecutionfails =" false" />
261260 <exec osfamily =" unix" executable =" tools/get-scala-commit-date" outputproperty =" git.commit.date" failifexecutionfails =" false" />
262- <exec osfamily =" windows" executable =" tools/get-scala-commit-date.bat" outputproperty =" git.commit.date" failifexecutionfails =" false" />
263- <exec osfamily =" unix" executable =" tools/get-scala-commit-drift" outputproperty =" git.commit.drift" failifexecutionfails =" false" />
264- <exec osfamily =" windows" executable =" tools/get-scala-commit-drift.bat" outputproperty =" git.commit.drift" failifexecutionfails =" false" />
265261 <!-- some default in case something went wrong getting the revision -->
266- <property name =" git.describe" value =" -unknown-" />
262+ <property name =" git.commit.sha" value =" unknown" />
263+ <property name =" git.commit.date" value =" unknown" />
267264
268265 <property name =" init.avail" value =" yes" />
269266
@@ -273,7 +270,7 @@ INITIALISATION
273270 value =" ${ version.major } .${ version.minor } .${ version.patch } ${ version.suffix } ${ maven.version.suffix } " />
274271 <property
275272 name =" version.number"
276- value =" ${ maven. version.number } - ${ git.commit.date } -${ git.commit.drift } -${ git.commit.sha } " />
273+ value =" ${ version.major } . ${ version.minor } . ${ version.patch } ${ version.suffix } -${ git.commit.date } -${ git.commit.sha } " />
277274 <property
278275 name =" osgi.version.number"
279276 value =" ${ version.major } .${ version.minor } .${ version.patch } .v${ git.commit.date } ${ version.suffix } -${ git.commit.sha } " />
@@ -307,6 +304,8 @@ INITIALISATION
307304 <echo message =" java args: ${ env.ANT_OPTS } ${ jvm.opts } " />
308305 <echo message =" javac args: ${ javac.args } " />
309306 <echo message =" scalac args: ${ scalac.args } " />
307+ <echo message =" git date: ${ git.commit.date } " />
308+ <echo message =" git hash: ${ git.commit.sha } " />
310309 <echo message =" maven version: ${ maven.version.number } " />
311310 <echo message =" OSGi version: ${ osgi.version.number } " />
312311 <echo message =" canonical version: ${ version.number } " />
@@ -1555,7 +1554,7 @@ DOCUMENTATION
15551554 <taskdef name =" genman"
15561555 classname =" scala.tools.docutil.ManMaker"
15571556 classpathref =" manual.classpath" />
1558- <genman command =" fsc, sbaz, scala, scalac, scaladoc, scalap"
1557+ <genman command =" fsc, scala, scalac, scaladoc, scalap"
15591558 htmlout =" ${ build-docs.dir } /manual/html"
15601559 manout =" ${ build-docs.dir } /manual/genman" />
15611560 <!-- On Windows source and target files can't be the same ! -->
0 commit comments