diff options
author | Artur Signell <artur@vaadin.com> | 2012-09-04 08:46:35 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-09-09 11:23:11 +0300 |
commit | f73ff78c95ef6184e8365ada272bbbc147bdcd10 (patch) | |
tree | 4a8a91db11c8182722e9ea0ab962660587357fcc /client-compiler | |
parent | e722b038d48f19201637267fbc58e0471405ec83 (diff) | |
download | vaadin-framework-f73ff78c95ef6184e8365ada272bbbc147bdcd10.tar.gz vaadin-framework-f73ff78c95ef6184e8365ada272bbbc147bdcd10.zip |
Added Git Revision to GWT version file
Diffstat (limited to 'client-compiler')
-rw-r--r-- | client-compiler/build.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/client-compiler/build.xml b/client-compiler/build.xml index 2b5d9e34dc..fd29e8ed02 100644 --- a/client-compiler/build.xml +++ b/client-compiler/build.xml @@ -23,7 +23,16 @@ </union> <target name="jar"> - <echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version}</echo> + <!-- Get Git revision --> + <exec executable="git" outputproperty="git.revision" failifexecutionfails="false" errorproperty=""> + <arg value="describe"/> + <arg value="--tags"/> + <arg value="--always"/> + <arg value="HEAD"/> + </exec> + + <echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version} +gwt.svnrev=${git.revision}</echo> <antcall target="common.jar"> <reference refid="compiler.includes" torefid="extra.jar.includes" /> |