aboutsummaryrefslogtreecommitdiff
path: root/id.server/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/build.xml')
-rw-r--r--id.server/build.xml28
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>