--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/javacommons/security/javaunicertstoreplugin/tsrc/build/build.xml Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,53 @@
+<!--
+#
+# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+#
+-->
+
+<project name="javaunitcertstoreplugintests" default="backup" basedir=".">
+
+ <import file="../../../../../build/utilities.xml"/>
+
+ <property name="captain.binary.dir" value="/epoc32/release/winscw/udeb"/>
+ <property name="javacaptain.exe.name" value="javacaptain.exe"/>
+ <property name="sys.bin.dir" value="/epoc32/winscw/c/sys/bin"/>
+
+ <target name="init" depends="init.properties">
+ <property name="test.tmp.dir" location="${env.JAVA_SRC_ROOT}/javacommons/security/javaunicertstoreplugin/tsrc/build/tmp"/>
+ <property name="certs.dir" location="${java.captain.datacage}/security/trustroots/device/certificates"/>
+ </target>
+
+ <target name="backup" depends="init">
+ <mkdir dir="${sys.bin.dir}"/>
+ <copy file="${captain.binary.dir}/${javacaptain.exe.name}" tofile="${sys.bin.dir}/${javacaptain.exe.name}"/>
+ <delete file="${captain.binary.dir}/${javacaptain.exe.name}"/>
+ <mkdir dir="${test.tmp.dir}"/>
+ <move todir="${test.tmp.dir}">
+ <fileset dir="${certs.dir}"/>
+ </move>
+ </target>
+
+ <target name="clean" depends="init">
+ <copy file="${sys.bin.dir}/${javacaptain.exe.name}"
+ tofile="${captain.binary.dir}/${javacaptain.exe.name}"/>
+ <delete file="${sys.bin.dir}/${javacaptain.exe.name}"/>
+ <copy todir="${certs.dir}">
+ <fileset dir="${test.tmp.dir}"/>
+ </copy>
+ <delete dir="${test.tmp.dir}"/>
+ </target>
+
+</project>
+