javacommons/utils/tsrc/build/java/build.xml
author hgs
Fri, 15 Oct 2010 12:29:39 +0300
changeset 80 d6dafc5d983f
parent 72 1f0034e370aa
permissions -rw-r--r--
v2.2.19_1

<!--
#
# Copyright (c) 2010 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="javacommonutilstest" basedir="." default="deploy">

                  <import file="../../../../../build/utilities.xml"/>

                               <property name="java.src.paths" value="../../javasrc"/>
                                       <property name="java.bin.root" value="${env.JAVA_BIN_ROOT}"/>

                                               <property name="javah.classnames"
                                                       value="com.nokia.mj.impl.rt.support.JvmPortTest"/>

                                                               <target name="compile">
                                                                       <omj.javac classpath="${compile.result.root}/javautils/classes/first"/>
                                                                               </target>

                                                                               <target name="run" depends="deploy">
                                                                                       <echo>Running BufferedReaderTests</echo>
                                                                                       <exec executable="${java.bin.root}/bin/javaunittester">
                                                                                               <arg line="-mainclass=com.nokia.mj.impl.utils.BufferedReaderTests"/>
                                                                                                       </exec>

                                                                                                       <echo>Running ConcurrencyTests</echo>
                                                                                                       <exec executable="${java.bin.root}/bin/javaunittester">
                                                                                                               <arg line="-mainclass=com.nokia.mj.impl.utils.concurrent.ConcurrentTests"/>
                                                                                                                       </exec>

                                                                                                                       <echo>Running SystemPropertyTests</echo>
                                                                                                                       <exec executable="${java.bin.root}/bin/javaunittester">
                                                                                                                               <arg line="-mainclass=com.nokia.mj.impl.rt.SystemPropertyTests"/>
                                                                                                                                       </exec>

                                                                                                                                       <echo>Running DebugUtilsTests tests</echo>
                                                                                                                                       <exec executable="${java.bin.root}/bin/javaunittester">
                                                                                                                                               <arg line="-mainclass=com.nokia.mj.impl.utils.DebugUtilsTests"/>
                                                                                                                                                       </exec>

                                                                                                                                                       <echo>Running LoggerTests tests</echo>
                                                                                                                                                       <exec executable="${java.bin.root}/bin/javaunittester">
                                                                                                                                                               <arg line="-mainclass=com.nokia.mj.impl.utils.LoggerTests"/>
                                                                                                                                                                       </exec>
                                                                                                                                                                       </target>

                                                                                                                                                                       <target name="main" depends="clean,run"/>

                                                                                                                                                                               </project>