javauis/eswt_qt/build/eswtqt/build.xml
changeset 35 85266cc22c7f
child 50 023eef975703
equal deleted inserted replaced
26:dc7c549001d5 35:85266cc22c7f
       
     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 the License "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="eswtqt" default="deploy" basedir=".">
       
    20 
       
    21     <description>
       
    22         Builds eSWT on Qt
       
    23     </description>
       
    24 
       
    25     <import file="../../../../build/utilities.xml"/>
       
    26     
       
    27     <target name="init.component.properties">
       
    28         <!-- Symbian MIDP specific properties-->
       
    29         <condition property="java.src.paths" value="../../org.eclipse.swt/Eclipse_SWT_PI/s60:../../org.eclipse.swt/Eclipse_SWT_PI/qt:../../org.eclipse.swt/Eclipse_SWT_PI/webkit:../../org.eclipse.swt/Eclipse_SWT_PI/common_j2me:../../org.eclipse.swt/Eclipse SWT/qt:../../org.eclipse.swt/Eclipse SWT/common_j2me:../../org.eclipse.swt/Eclipse SWT/common:../../org.eclipse.swt/Eclipse SWT Drag and Drop/qt:../../org.eclipse.swt/Eclipse SWT Browser/qt:../../org.eclipse.swt/Eclipse SWT Browser/common:../../com.nokia.swt.extensions/extensions:../../com.nokia.swt.extensions/midp:../../org.eclipse.swt/Eclipse SWT Custom Widgets/common">
       
    30             <isset property="target.s60" />
       
    31         </condition> 
       
    32         <condition property="javah.classnames" value="org.eclipse.swt.internal.qt.OS,org.eclipse.swt.internal.qt.graphics.OS,org.eclipse.swt.internal.qt.s60.OS,org.eclipse.swt.internal.extension.OS">
       
    33             <isset property="target.s60" />
       
    34         </condition>
       
    35     
       
    36         <!-- Linux MIDP specific properties-->
       
    37         <condition property="java.src.paths" value="../../org.eclipse.swt/Eclipse_SWT_PI/linux:../../org.eclipse.swt/Eclipse_SWT_PI/qt:../../org.eclipse.swt/Eclipse_SWT_PI/webkit:../../org.eclipse.swt/Eclipse_SWT_PI/common_j2me:../../org.eclipse.swt/Eclipse SWT/qt:../../org.eclipse.swt/Eclipse SWT/common_j2me:../../org.eclipse.swt/Eclipse SWT/common:../../org.eclipse.swt/Eclipse SWT Drag and Drop/qt:../../org.eclipse.swt/Eclipse SWT Browser/qt:../../org.eclipse.swt/Eclipse SWT Browser/common:../../com.nokia.swt.extensions/extensions:../../com.nokia.swt.extensions/midp:../../org.eclipse.swt/Eclipse SWT Custom Widgets/common">
       
    38             <isset property="target.linux" />
       
    39         </condition>
       
    40         <condition property="javah.classnames" value="org.eclipse.swt.internal.qt.OS,org.eclipse.swt.internal.qt.graphics.OS,org.eclipse.swt.internal.extension.OS">
       
    41             <isset property="target.linux" />
       
    42         </condition>
       
    43 
       
    44         <echo message="java.src.paths = ${java.src.paths}"/>
       
    45         <echo message="javah.classnames = ${javah.classnames}"/>
       
    46     </target>
       
    47 
       
    48     <!-- This property gets added to eswtqt.odc created by the build system -->
       
    49     <target name="system.properties">
       
    50       <properties>
       
    51           org.eclipse.ercp.swt.defaultOrientation=system
       
    52       </properties>
       
    53     </target>
       
    54 
       
    55     <target name="compile">
       
    56         <omj.javac classpath="${impl.cldc.jar}" excludes="**/CDCCompatibilityDelegate.java"/>
       
    57     </target>
       
    58 
       
    59     <target name="create.public.api.jar">
       
    60         <omj.public.apis/>
       
    61     </target>
       
    62 
       
    63 </project>