Convert java_s60_release.hrh to DOS line endings, in the hope that it parses better
<!--
#
# 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="JavaInstallerTest" 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="src.dir" location="../javasrc"/>
<property name="build.dir" location="../build"/>
<property name="testdata.dir" location="../testdata"/>
<property name="inbox.dir" value="private/1000484b"/>
<property name="classes.dir" location="${build.dir}/javabuild"/>
<property name="installer.datacage.dir" value="private/102033E6"/>
<property name="plugins.conf.filename" value="inst_plugins.cfg"/>
<property name="installer.jar.filename" value="javainstaller.jar"/>
<property name="installercdc.jar.filename" value="javainstallercdc.jar"/>
<property name="installertest.jar.filename" value="installertest.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"/>
<target name="init.installer.root">
<condition property="java.installer.root"
value="/epoc32/winscw/c/${installer.datacage.dir}/installer"
else="${env.JAVA_BIN_ROOT}/installer">
<isset property="target.s60" />
</condition>
<condition property="inbox.full.dir"
value="/epoc32/winscw/c/${inbox.dir}"
else="${env.JAVA_BIN_ROOT}/installer/${inbox.dir}">
<isset property="target.s60" />
</condition>
</target>
<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"/>
<target name="clean" depends="init.properties,init.installer.root">
<property name="dist.dir" location="${vm.extension.directory}"/>
<delete dir="${classes.dir}"/>
<delete file="test.dat"/>
<delete file="${dist.dir}/${installertest.jar.filename}"/>
<delete file="${dist.dir}/${junit.jar.filename}"/>
<delete file="${dist.dir}/${junit.omj.jar.filename}"/>
<delete dir="${java.installer.root}/jiutdata"/>
<delete file="${java.installer.root}/${plugins.conf.filename}"/>
<delete dir="${inbox.full.dir}"/>
</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="${src.dir}"/>
</javac>
</target>
<target name="deploy.ut" depends="compile.ut,init.installer.root">
<property name="dist.dir" location="${vm.extension.directory}"/>
<mkdir dir="${dist.dir}"/>
<jar destfile="${dist.dir}/${installertest.jar.filename}" basedir="${classes.dir}"/>
<copy file="${junit.jar.dir}/${junit.jar.filename}"
tofile="${dist.dir}/${junit.jar.filename}"/>
<copy file="${junit.jar.dir}/${junit.omj.jar.filename}"
tofile="${dist.dir}/${junit.omj.jar.filename}"/>
<unzip src="${testdata.dir}/jadjarmatcher/inbox_files_1000484b.zip"
dest="${inbox.full.dir}"/>
<copy todir="${java.installer.root}">
<fileset dir="${testdata.dir}/jsrpluginnotifier/${installer.datacage.dir}"/>
</copy>
<copy todir="${java.installer.root}/jiutdata/installerengine">
<fileset dir="${testdata.dir}/installerengine"/>
</copy>
<copy todir="${java.installer.root}/jiutdata/jadjarmatcher/testapps">
<fileset dir="${testdata.dir}/jadjarmatcher/testapps"/>
</copy>
<copy todir="${java.installer.root}/jiutdata/utils">
<fileset dir="${testdata.dir}/utils"/>
</copy>
<touch file="${java.installer.root}/jiutdata/jadjarmatcher/testapps/HelloWorld1_newer.jad"
datetime="08/20/2020 4:30 pm"/>
</target>
<target name="run" depends="deploy.ut">
<property name="testcmd" value="test"/>
<echo>Running DriveInfoTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.utils.DriveInfoTest"/>
</exec>
<echo>Running NotificationPosterTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.downloader.NotificationPosterTest"/>
</exec>
<echo>Running DownloaderTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.downloader.DownloaderTest"/>
</exec>
<echo>Running OtaStatusHandlerTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.storagehandler.OtaStatusHandlerTest"/>
</exec>
<echo>Running IntegrityServiceTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.integrityservice.IntegrityServiceTest -log=is"/>
</exec>
<echo>Running JadJarMatcherTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.jadjarmatcher.JadJarMatcherTest"/>
</exec>
<echo>Running AttributeValidatorTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.utils.AttributeValidatorTest"/>
</exec>
<echo>Running AttributeReaderTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.utils.AttributeReaderTest"/>
</exec>
<echo>Running JsrPluginNotifierTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.jsrpluginnotifier.JsrPluginNotifierTest"/>
</exec>
<echo>Running CustomisationPropertiesTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.customisationproperties.CustomisationPropertiesTest"/>
</exec>
<echo>Running StorageHandlerTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.storagehandler.StorageHandlerTest"/>
</exec>
<!-- echo>Running ApplicationRegistratorTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.applicationregistrator.ApplicationRegistratorTest"/>
</exec -->
<echo>Running InstallerResultMessageTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.InstallerResultMessageTest"/>
</exec>
<echo>Running GetComponentInfoTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.GetComponentInfoTest"/>
</exec>
<echo>Running InstallerEngineTest</echo>
<exec executable="${java.bin.root}/bin/javainstaller">
<arg line="${testcmd} -mainclass=com.nokia.mj.impl.installer.InstallerEngineTest"/>
</exec>
</target>
<target name="main" depends="clean,run"/>
</project>