aboutsummaryrefslogtreecommitdiff
path: root/spss.server/build.xml
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-12-14 14:53:30 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-12-14 14:53:30 +0000
commit670cfb3cd23dad14ae33b4ffd80c1403f409973d (patch)
treeddda72d7d35f3c09263bec682bb01da2a583eaf2 /spss.server/build.xml
parent943000bc23d175789144c29c21cb2aeb6d35a581 (diff)
downloadmoa-id-spss-670cfb3cd23dad14ae33b4ffd80c1403f409973d.tar.gz
moa-id-spss-670cfb3cd23dad14ae33b4ffd80c1403f409973d.tar.bz2
moa-id-spss-670cfb3cd23dad14ae33b4ffd80c1403f409973d.zip
added product version to manifest
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@610 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/build.xml')
-rw-r--r--spss.server/build.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/spss.server/build.xml b/spss.server/build.xml
index ccfa2c7eb..9735252af 100644
--- a/spss.server/build.xml
+++ b/spss.server/build.xml
@@ -100,9 +100,9 @@
</javac>
</target>
- <target name="package-ws" depends="compile">
+ <target name="package-ws" depends="compile, manifest">
<description>package the server war file</description>
- <war warfile="${dist.ws}/moa-spss.war" webxml="web.xml">
+ <war warfile="${dist.ws}/moa-spss.war" webxml="web.xml" manifest="${tmp}/MANIFEST.MF">
<lib dir="${lib.xalan}"/>
<lib dir="${lib.xerces}"/>
<lib dir="${lib.jaxp}"/>
@@ -454,4 +454,10 @@
<description>clean temporary files</description>
<delete dir="${tmp}"/>
</target>
+
+ <target name="manifest">
+ <filter token="version" value="${version}" />
+ <copy file="manifest.template" tofile="${tmp}/MANIFEST.MF" overwrite="true" filtering="true" />
+ </target>
+
</project>