--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/eswt_qt/eswtuitestutils/build/build.xml Tue Aug 31 15:09:22 2010 +0300
@@ -0,0 +1,62 @@
+<!--
+#
+# 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 the License "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="eswtuitestutils" default="createJars" basedir=".">
+
+ <description>
+ Builds eswtuitestutils on Qt
+ </description>
+
+ <import file="../../../../build/utilities.xml"/>
+
+ <!-- Needed by the utilities.xml. See the description form the utilities.xml
+ file -->
+
+ <target name="compile">
+ <omj.javac classpath="${bootclasspath.cdc}:${impl.cldc.jar}"/>
+ </target>
+
+ <property name="javah.classnames" value="com.nokia.mj.impl.uitestutils.S60Utils"/>
+
+ <!-- This empty call is needed to avoid OMJ tool to add this component class to cldc jar -->
+ <target name="add.classes.to.collection.jar"/>
+
+ <target name="createJars" depends="deploy">
+ <copy file="${compile.result.root}/eswtuitestutils/release_japted.jar" todir="${bcp.dest.directory}" failonerror="true"/>
+ <move file="${bcp.dest.directory}/release_japted.jar" tofile="${bcp.dest.directory}/eswtuitestutils.jar" failonerror="true"/>
+ <antcall target="appendODC"/>
+ </target>
+
+ <target name="appendODC" >
+ <!-- Appends eswtuitestutils.odc if not present in installerodclist30 file -->
+ <loadfile srcFile="${epocroot}epoc32/data/z/resource/java/installerodclist" property="uitestutils">
+ <filterchain>
+ <linecontains>
+ <contains value="${component.dir}.odc"/>
+ </linecontains>
+ </filterchain>
+ </loadfile>
+ <antcall target="appendUITestUtils"/>
+ </target>
+
+ <target name="appendUITestUtils" unless="uitestutils">
+ <concat destfile="${epocroot}epoc32/data/z/resource/java/installerodclist" append="true">${component.dir}.odc${line.separator}</concat>
+ <concat destfile="${epocroot}epoc32/data/z/resource/java/installerodclist" append="true">${component.dir}.jar${line.separator}</concat>
+ </target>
+
+</project>