javacommons/gcfprotocols/https/build/build.xml
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 <!--
       
     2 #
       
     3 # Copyright (c) 2008-2009 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="javahttps" default="deploy" basedir=".">
       
    20     <description>
       
    21         Builds HttpConnection
       
    22     </description>
       
    23 
       
    24   <import file="../../../../build/utilities.xml"/>
       
    25   
       
    26   
       
    27  <target name="init.component.properties">
       
    28     <condition property="java.src.paths"
       
    29                value="../javasrc.s60">
       
    30       <isset property="target.s60" />
       
    31     </condition>
       
    32     
       
    33     <condition property="java.src.paths"
       
    34                value="../javasrc.linux">
       
    35       <isset property="target.linux" />
       
    36     </condition>   
       
    37  
       
    38     
       
    39     <echo message="java.src.paths = ${java.src.paths}"/>
       
    40   </target> 
       
    41     
       
    42 
       
    43   <!-- Needed by the utilities.xml. See the description form the utilities.xml
       
    44        file -->
       
    45        
       
    46     <condition property="javah.classnames"
       
    47                value="com.nokia.mj.impl.https.HttpsConnectionImpl">
       
    48       <isset property="target.linux" />
       
    49     </condition> 
       
    50 
       
    51      <condition property="javah.classnames" 
       
    52              value="com.nokia.mj.impl.https.HttpsConnectionNative,
       
    53              				com.nokia.mj.impl.https.SecurityInfoImpl">
       
    54         <isset property="target.s60" />
       
    55      </condition>  
       
    56             
       
    57    <target name="create.internal.api.jar">
       
    58     <omj.internal.apis includes="com/nokia/mj/impl/gcf/protocol/https/Protocol.class,
       
    59                                  com/nokia/mj/impl/gcf/protocol/https/Connection.class"/>
       
    60    </target> 
       
    61                                  
       
    62   <target name="create.public.api.jar">
       
    63   	<omj.public.apis includes="javax/microedition/io/HttpsConnection.class"/>
       
    64   </target>
       
    65   
       
    66 </project>
       
    67 
       
    68