javamanager/javainstaller/installer/build/build.xml
branchRCL_3
changeset 14 04becd199f91
child 24 6c158198356e
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 <!--
       
     2 #
       
     3 # Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 #
       
    10 # Initial Contributors:
       
    11 # Nokia Corporation - initial contribution.
       
    12 #
       
    13 # Contributors:
       
    14 #
       
    15 # Description: 
       
    16 #
       
    17 -->
       
    18 
       
    19 <project name="javainstaller" basedir="." default="deploy.dual">
       
    20     <description>
       
    21         Builds JavaInstaller
       
    22     </description>
       
    23 
       
    24   <import file="../../../../build/utilities.xml"/>
       
    25 
       
    26   <target name="init.component.properties">
       
    27     <condition property="java.src.second.paths"
       
    28                value="../javasrc:../javasrc.s60"
       
    29                else="../javasrc:../javasrc.linux">
       
    30       <isset property="target.s60" />
       
    31     </condition>
       
    32   </target>
       
    33 
       
    34   <target name="compile">
       
    35     <omj.javac
       
    36 	       includes="com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtension*.java,
       
    37 			 com/nokia/mj/impl/installer/pushregistrator/Push*.java,
       
    38 			 com/nokia/mj/impl/installer/utils/InstallerMain.java">
       
    39     </omj.javac>
       
    40   </target>
       
    41 
       
    42   <!--
       
    43       Data is exported to \epoc32\RELEASE\WINSCW\udeb\Z\resource\java AND
       
    44       to \epoc32\data\Z\resource\java in S60 build env.
       
    45   -->
       
    46   <target name="export.data">
       
    47     <condition property="export.data.path"
       
    48                value="${epocroot}epoc32/release/winscw/udeb/Z/resource/java"
       
    49                else="${env.JAVA_BIN_ROOT}/resources">
       
    50       <isset property="target.s60" />
       
    51     </condition>
       
    52     <copy todir="${export.data.path}">
       
    53         <fileset dir="../data/resource/"/>
       
    54     </copy>
       
    55     <condition property="export.data.path2"
       
    56                value="${epocroot}epoc32/data/Z/resource/java"
       
    57                else="${env.JAVA_BIN_ROOT}/resources">
       
    58       <isset property="target.s60" />
       
    59     </condition>
       
    60     <copy todir="${export.data.path2}">
       
    61         <fileset dir="../data/resource/"/>
       
    62     </copy>
       
    63   </target>
       
    64 
       
    65   <target name="compile.second" depends="export.data">
       
    66     <omj.javac
       
    67 	       excludes="com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtension*.java,
       
    68 			 com/nokia/mj/impl/installer/pushregistrator/Push*.java,
       
    69 			 com/nokia/mj/impl/installer/utils/InstallerMain.java">
       
    70     </omj.javac>
       
    71   </target>
       
    72 
       
    73   <property name="javah.classnames"
       
    74     value="com.nokia.mj.impl.installer.utils.SysUtil,
       
    75            com.nokia.mj.impl.installer.utils.FileRoots,
       
    76            com.nokia.mj.impl.installer.utils.FileWriter,
       
    77            com.nokia.mj.impl.installer.jadjarmatcher.JadJarMatcher,
       
    78            com.nokia.mj.impl.installer.applicationregistrator.ApplicationRegistrator,
       
    79            com.nokia.mj.impl.installer.applicationregistrator.SifNotifier,
       
    80            com.nokia.mj.impl.installer.applicationregistrator.SifRegistrator"/>
       
    81 
       
    82   <target name="create.internal.api.jar">
       
    83       <omj.internal.apis includes="com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtension.class,
       
    84                                    com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtensionInfo.class,
       
    85                                    com/nokia/mj/impl/installer/pushregistrator/PushApplicationInfo.class,
       
    86                                    com/nokia/mj/impl/installer/pushregistrator/PushInfo.class,
       
    87                                    com/nokia/mj/impl/installer/pushregistrator/PushRegistrator.class,
       
    88                                    com/nokia/mj/impl/installer/pushregistrator/PushRegistrationException.class,
       
    89                                    com/nokia/mj/impl/installer/utils/InstallerMain.class"/>
       
    90   </target>
       
    91 
       
    92 </project>