javamanager/javainstaller/installerui/build/build.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:10:26 +0300
changeset 48 e0d6e9bd3ca7
parent 21 2a9601315dfc
child 83 26b2b12093af
permissions -rw-r--r--
Revision: v2.2.3 Kit: 2010127

<!--
#
# 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>