Browse Source

Added Git Revision to GWT version file

tags/7.0.0.beta1
Artur Signell 11 years ago
parent
commit
f73ff78c95
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      client-compiler/build.xml

+ 10
- 1
client-compiler/build.xml View File

@@ -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" />

Loading…
Cancel
Save