javamanager/javainstaller/installerui/build/build.xml
author Dario Sestito <darios@symbian.org>
Fri, 17 Sep 2010 17:50:17 +0100
branchRCL_3
changeset 73 461e71b327da
parent 60 6c158198356e
child 83 26b2b12093af
permissions -rw-r--r--
Reapply changes for bug 2896 and tweak for generatej9zips.py

<!--
#
# Copyright (c) 2008-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="javainstallerui" default="deploy" basedir=".">
    <description>
        Builds JavaInstaller UI
    </description>

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

  <property name="localisation.file.base"
	    value="javainstallation"/>

  <!--
      Data is exported to \epoc32\RELEASE\WINSCW\udeb\Z\resource\java AND
      to \epoc32\data\Z\resource\java
      in S60 build env.
  -->
  <target name="export.data">
    <condition property="export.data.path"
               value="${epocroot}epoc32/release/winscw/udeb/Z/resource/java"
               else="${env.JAVA_BIN_ROOT}/resources">
      <isset property="target.s60" />
    </condition>
    <copy todir="${export.data.path}">
        <fileset dir="../data/"/>
    </copy>
    <condition property="export.data.path2"
               value="${epocroot}epoc32/data/Z/resource/java"
               else="${env.JAVA_BIN_ROOT}/resources">
      <isset property="target.s60" />
    </condition>
    <copy todir="${export.data.path2}">
        <fileset dir="../data/"/>
    </copy>
  </target>

  <target name="compile">
    <condition property="installer.ui.excludes"
	       value="com/nokia/mj/impl/installer/ui/eswt/*.java"
	       else="com/nokia/mj/impl/installer/ui/eswt2/*.java">
      <isset property="RD_JAVA_UI_QT"/>
    </condition>
    <echo message="installerui compilation excludes: ${installer.ui.excludes}"/>
    <omj.javac excludes="${installer.ui.excludes}"/>
  </target>

  <target name="create.internal.api.jar" depends="export.data">
      <omj.internal.apis includes="com/nokia/mj/impl/installer/ui/*.class"/>
  </target>

</project>