aboutsummaryrefslogtreecommitdiff
path: root/spss.server/build.xml
diff options
context:
space:
mode:
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>