summaryrefslogtreecommitdiffstats
path: root/src/org.gluster.storage.management.gateway/build
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.gluster.storage.management.gateway/build')
-rw-r--r--src/org.gluster.storage.management.gateway/build/glustermg.ant (renamed from src/org.gluster.storage.management.gateway/build/glusterserver.ant)4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org.gluster.storage.management.gateway/build/glusterserver.ant b/src/org.gluster.storage.management.gateway/build/glustermg.ant
index d05a5fb..ac15e1b 100644
--- a/src/org.gluster.storage.management.gateway/build/glusterserver.ant
+++ b/src/org.gluster.storage.management.gateway/build/glustermg.ant
@@ -57,7 +57,11 @@
<exclude name="**/servlet-api.jar" />
</fileset>
</copy>
+
+ <!-- Update product version in xml files -->
<replace file="${TEMP}/WEB-INF/web.xml" token="@VERSION@" value="${product.version}" />
+ <replace file="${TEMP}/WEB-INF/classes/spring/gluster-server-base.xml" token="@VERSION@" value="${product.version}" />
+
<war destfile="${OUT}/${WAR_FILE_NAME}" basedir="${TEMP}" compress="true" webxml="${TEMP}/WEB-INF/web.xml" />
<delete dir="${TEMP}" />
</target>