diff options
author | peter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-12-14 14:53:30 +0000 |
---|---|---|
committer | peter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-12-14 14:53:30 +0000 |
commit | 670cfb3cd23dad14ae33b4ffd80c1403f409973d (patch) | |
tree | ddda72d7d35f3c09263bec682bb01da2a583eaf2 /id.server/build.xml | |
parent | 943000bc23d175789144c29c21cb2aeb6d35a581 (diff) | |
download | moa-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 'id.server/build.xml')
-rw-r--r-- | id.server/build.xml | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/id.server/build.xml b/id.server/build.xml index c4c3ea1ed..e46aed57b 100644 --- a/id.server/build.xml +++ b/id.server/build.xml @@ -179,8 +179,8 @@ </target> <!-- package moa-id-auth.war --> <!-- base target for moa-id-auth.war file with IAIK libraries for commercial use --> - <target name="package-auth-base"> - <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml"> + <target name="package-auth-base" depends="manifest"> + <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.auth}" includes="errorpage-auth.jsp,message-auth.jsp,WEB-INF/server-config.wsdd"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -201,8 +201,8 @@ </war> </target> <!-- base target for moa-id-auth.war file with IAIK libraries for educational and research use --> - <target name="package-auth-base-eval"> - <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml"> + <target name="package-auth-base-eval" depends="manifest"> + <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.auth}" includes="errorpage-auth.jsp,message-auth.jsp,WEB-INF/server-config.wsdd"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -223,8 +223,8 @@ </war> </target> <!-- base target for moa-id-auth.war file without IAIK libraries --> - <target name="package-auth-base-woIAIK" description="base target for moa-id-auth.war file without IAIK libraries"> - <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml"> + <target name="package-auth-base-woIAIK" description="base target for moa-id-auth.war file without IAIK libraries" depends="manifest"> + <war warfile="${dist.auth}/moa-id-auth.war" webxml="${webinf.auth}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.auth}" includes="errorpage-auth.jsp,message-auth.jsp,WEB-INF/server-config.wsdd"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -257,8 +257,8 @@ <!-- package moa-id-proxy.war --> <!-- base target for moa-id-proxy.war file with IAIK libraries for commercial use --> - <target name="package-proxy-base"> - <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml"> + <target name="package-proxy-base" depends="manifest"> + <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.proxy}" includes="errorpage-proxy.jsp,message-proxy.jsp"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -279,8 +279,8 @@ </war> </target> <!-- base target for moa-id-proxy.war file with IAIK libraries for educational and research use --> - <target name="package-proxy-base-eval" description="base target for moa-id-proxy.war file for educational and research use"> - <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml"> + <target name="package-proxy-base-eval" description="base target for moa-id-proxy.war file for educational and research use" depends="manifest"> + <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.proxy}" includes="errorpage-proxy.jsp,message-proxy.jsp"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -301,8 +301,8 @@ </war> </target> <!-- base target for moa-id-proxy.war file without IAIK libraries --> - <target name="package-proxy-base-woIAIK" description="base target for moa-id-proxy.war file for commercial use"> - <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml"> + <target name="package-proxy-base-woIAIK" description="base target for moa-id-proxy.war file for commercial use" depends="manifest"> + <war warfile="${dist.proxy}/moa-id-proxy.war" webxml="${webinf.proxy}/web.xml" manifest="${tmp}/MANIFEST.MF"> <fileset dir="${html.proxy}" includes="errorpage-proxy.jsp,message-proxy.jsp"/> <lib dir="${lib.activation}"/> <lib dir="${lib.axis}"/> @@ -704,4 +704,8 @@ <target name="clean"> <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> |