summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 625c4a6..951cf03 100644
--- a/build.xml
+++ b/build.xml
@@ -14,6 +14,16 @@
<!-- Targets to get this project ready -->
<target name="bootstrap" depends="setup-tomcat" />
+ <target name="compile" depends="gitrevision,build-common.compile">
+ <copy file="src/templates/templates/gitversion.ftl" tofile="${build.dir}/${build.classes}/templates/templates/gitversion.ftl" overwrite="yes">
+ <filterchain>
+ <replacetokens>
+ <token key="repository.version" value="${repository.version}" />
+ </replacetokens>
+ </filterchain>
+ </copy>
+ </target>
+
<target name="server" depends="compile">
<java classname="com.p4square.grow.GrowProcessComponent"
classpathref="classpath.run" fork="true">