javaextensions/mobinfo/tsrc/build/build.xml
branchRCL_3
changeset 18 9ac0a0a7da70
parent 17 0fd27995241b
child 19 71c436fe3ce0
--- a/javaextensions/mobinfo/tsrc/build/build.xml	Tue May 11 16:07:20 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-<!--
-#
-# 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="mobinfotests" basedir="." default="deploy.ut">
-
-  <import file="../../../../../build/utilities.xml"/>
-
-  <property environment="env"/>
-  <property name="java.src.root" location="${env.JAVA_SRC_ROOT}"/>
-  <property name="java.bin.root" location="${env.JAVA_BIN_ROOT}"/>
-  <property name="build.dir" location="../build"/>
-  <property name="classes.dir" location="${build.dir}/javabuild"/>
-  <property name="installer.jar.dir" location="${dist}"/>
-  <property name="installer.jar.filename" value="installer.jar"/>
-  <property name="mobinfotests.jar.filename" value="mobinfotests.jar"/>
-  <property name="utils.jar.filename" value="javacommonutils.jar"/>
-  <property name="logger.jar.filename" value="logger.jar"/>
-  <property name="junit.jar.dir" location="${java.src.root}/tools/junit"/>
-  <property name="junit.jar.filename" value="j2meunit1.1.1.jar"/>
-  <property name="junit.omj.jar.filename" value="j2meunitomj.jar"/>
-
-  <property name="bootclasspath.cdc" location="${java.src.root}/javaruntime/jvm/ibm/j9_23/ibmdelivery/resource/lib/jclCdc11/classes.zip"/>
-
-  <property name="javac.source" value="1.3"/>
-  <property name="javac.target" value="1.3"/>
-
-<!-- Choose appropriate path depending on the platform -->
-  <target name="init.component.properties">
-      <property name="dist"
-               value="${vm.extension.directory}"/>
-      <echo message="dist = ${dist}"/>  
-      <echo message="java.src.paths = ${java.src.paths}"/>
-  </target>
-
-  <target name="clean" depends="init.properties">
-    <delete dir="${classes.dir}"/>
-    <delete file="${dist}/${mobinfotests.jar.filename}"/>
-    <delete file="${dist}/${junit.jar.filename}"/>
-    <delete file="${dist}/${junit.omj.jar.filename}"/>
-  </target>
-
-  <target name="compile.ut" depends="init.properties">
-    <mkdir dir="${classes.dir}"/>
-    <javac source="${javac.source}" target="${javac.target}"
-           destdir="${classes.dir}"
-           bootclasspath="${bootclasspath.cdc}">
-           <classpath>
-               <pathelement location="${impl.cldc.jar}"/>
-               <pathelement location="${impl.cdc.jar}"/>
-               <pathelement location="${public.api.jar}"/>
-               <pathelement location="${platform.api.jar}"/>
-               <pathelement location="${junit.jar.dir}/${junit.jar.filename}"/>
-               <pathelement location="${junit.jar.dir}/${junit.omj.jar.filename}"/>
-           </classpath>
-      <src path="${java.src.paths}"/>
-    </javac>
-  </target>
-
-  <target name="deploy.ut" depends="compile.ut">
-      <mkdir dir="${dist}"/>
-      <jar destfile="${dist}/${mobinfotests.jar.filename}" basedir="${classes.dir}"/>
-      <copy file="${junit.jar.dir}/${junit.jar.filename}"
-            tofile="${dist}/${junit.jar.filename}"/>
-      <copy file="${junit.jar.dir}/${junit.omj.jar.filename}"
-            tofile="${dist}/${junit.omj.jar.filename}"/>
-  </target>
-
-  <target name="run" depends="deploy.ut">
-      <echo>Running MobInfo Tests</echo>
-      <exec executable="${java.bin.root}/bin/javainstaller">
-          <arg line="test -mainclass=com.nokia.mj.impl.properties.mobinfo.TestProperties"/>
-      </exec>
-  </target>
-  <target name="main" depends="clean,run"/>
-
-</project>