aboutsummaryrefslogtreecommitdiff
path: root/spss.iaiklibsupdate/update.xml
diff options
context:
space:
mode:
Diffstat (limited to 'spss.iaiklibsupdate/update.xml')
-rw-r--r--spss.iaiklibsupdate/update.xml78
1 files changed, 78 insertions, 0 deletions
diff --git a/spss.iaiklibsupdate/update.xml b/spss.iaiklibsupdate/update.xml
new file mode 100644
index 000000000..2167c7a05
--- /dev/null
+++ b/spss.iaiklibsupdate/update.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<!--
+
+ Ant Buildfile for IAIK libraries update for MOA SP/SS Server
+
+ Author: Gregor Karlinger
+
+ $Id$
+
+-->
+<project name="moa-spss-iaiklibs-update" default="update-ws" basedir=".">
+ <property environment="env"/>
+
+ <property name="iaiklibs.base" value="iaiklibs.${env.IAIK_LIB_TYPE}"/>
+
+ <property name="spss.ws.install" value="${env.SPSS_WS_UPDATE}"/>
+ <property name="ws.ext13" value="${spss.ws.install}/ext13"/>
+ <property name="ws.ext14" value="${spss.ws.install}/ext14"/>
+ <property name="ws.tools" value="${spss.ws.install}/tools"/>
+ <property name="ws.war" value="${spss.ws.install}/moa-spss.war"/>
+
+ <property name="spss.lib.install" value="${env.SPSS_LIB_UPDATE}"/>
+ <property name="lib.ext13" value="${spss.lib.install}/ext13"/>
+ <property name="lib.ext14" value="${spss.lib.install}/ext14"/>
+ <property name="lib.tools" value="${spss.lib.install}/tools"/>
+ <property name="lib.lib" value="${spss.lib.install}/lib"/>
+
+ <property name="spss.dev" value="${env.SPSS_DEV_UPDATE}"/>
+ <property name="lib.common.jce" value="${spss.dev}/common/lib/iaik-jce-3.0.6"/>
+ <property name="lib.spss.iaik-moa" value="${spss.dev}/spss.server/lib/iaik-moa-20050623"/>
+ <property name="lib.handbook.iaik-moa" value="${spss.dev}/spss.handbook/clients/api//lib/iaik-moa-20050623"/>
+
+ <target name="update-ws">
+ <description>Updates WS version of MOA SPSS with SIC/IAIK libraries</description>
+ <copy toDir="${ws.ext13}">
+ <fileset dir="${iaiklibs.base}" includes="iaik_jce_full.jar, iaik_ecc.jar, iaik_Pkcs11Provider.jar"/>
+ </copy>
+ <copy toDir="${ws.ext14}">
+ <fileset dir="${iaiklibs.base}/signed" includes="iaik_jce_full_signed.jar, iaik_ecc_signed.jar, iaik_Pkcs11Provider_signed.jar"/>
+ </copy>
+ <copy toDir="${ws.tools}">
+ <fileset dir="${iaiklibs.base}" includes="iaik_moa_full.jar"/>
+ </copy>
+ <war warfile="${ws.war}" update="yes">
+ <lib dir="${iaiklibs.base}"
+ excludes="iaik_jce_full.jar, iaik_ecc.jar, iaik_Pkcs11Provider.jar, win32/**, linux/**, solaris/**, signed/**"/>
+ </war>
+ </target>
+
+ <target name="update-lib">
+ <description>Updates API version of MOA SPSS with SIC/IAIK libraries</description>
+ <copy toDir="${lib.ext13}">
+ <fileset dir="${iaiklibs.base}" includes="iaik_jce_full.jar, iaik_ecc.jar, iaik_Pkcs11Provider.jar"/>
+ </copy>
+ <copy toDir="${lib.ext14}">
+ <fileset dir="${iaiklibs.base}/signed" includes="iaik_jce_full_signed.jar, iaik_ecc_signed.jar, iaik_Pkcs11Provider_signed.jar"/>
+ </copy>
+ <copy toDir="${lib.tools}">
+ <fileset dir="${iaiklibs.base}" includes="iaik_moa_full.jar"/>
+ </copy>
+ <copy toDir="${lib.lib}">
+ <fileset dir="${iaiklibs.base}" excludes="signed/**, iaik_jce_full.jar, iaik_ecc.jar, iaik_Pkcs11Provider.jar"/>
+ </copy>
+ </target>
+
+ <target name="update-dev">
+ <description>Updates development base of MOA SPSS with SIC/IAIK libraries</description>
+ <copy toDir="${lib.common.jce}">
+ <fileset dir="${iaiklibs.base}" includes="iaik_jce_full.jar"/>
+ </copy>
+ <copy toDir="${lib.handbook.iaik-moa}">
+ <fileset dir="${iaiklibs.base}"/>
+ </copy>
+ <copy toDir="${lib.spss.iaik-moa}">
+ <fileset dir="${iaiklibs.base}"/>
+ </copy>
+ </target>
+</project>