<mkdir dir="${output-dir}/META-INF"/>
<echo file="${output-dir}/META-INF/VERSION">${version.full}</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>
+
<!-- Replace GWT versioning with Vaadin versioning -->
- <echo file="${result-classes-gwt}/com/google/gwt/dev/About.properties">gwt.version=${version.full}</echo>
+ <echo file="${result-classes-gwt}/com/google/gwt/dev/About.properties">gwt.version=${version.full}
+gwt.svnrev=${git.revision}</echo>
<jarjar jarfile="${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}"
compress="true" manifest="build/package/META-INF/MANIFEST.MF" duplicate="preserve" index="true" >