javauis/tsrc/fute/lcdui/Midp_TextBox_01/build.xml
author hgs
Fri, 29 Oct 2010 11:49:32 +0300
changeset 87 1627c337e51e
parent 78 71ad690e91f5
permissions -rw-r--r--
v2.2.21_1

<!--
#
# Copyright (c) 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="Midp_TextBox_01" default="pack">

    <!-- Get general settings for MIDlet projects. -->
    <import file="../../properties.xml"/>

    <!-- Set properties for this project. -->
    <property name="midlet1.name" value="Midp_TextBox_01"/>
    <property name="midlet1.icon.name" value=""/>
    <property name="midlet1.package.name" value="Midp_TextBox_01"/>
    <property name="midlet.permissions" value=""/>
    <property name="package.name" value="Midp_TextBox_01"/>
    <property name="company.name" value="Nokia"/>
    <property name="midlet.version" value="1.3"/>
    <property name="midlet.description" value=""/>

    <!-- Package Preverifed classes, resources and MANIFEST file -->
    <target name="pack" depends="preverify">
        <wtkjad jadfile="${bin}/${package.name}.jad"
            jarfile="${bin}/${package.name}.jar"
            update="true"
            config="1.1"
            profile="2.1"
            manifest="${bin}/MANIFEST.MF"
            name="${package.name}"
            vendor="${company.name}">
            <attribute name="MIDlet-Permissions" value="${midlet.permissions}"/>
            <attribute name="MicroEdition-Profile" value="MIDP-2.1"/>
            <attribute name="MicroEdition-Configuration" value="CLDC-1.1"/>
            <attribute name="MIDlet-Version" value="${midlet.version}"/>
            <attribute name="MIDlet-Description" value="${midlet.description}"/>
            <midlet name="${midlet1.name}" icon="${midlet1.icon.name}" class="${midlet1.package.name}" />
        </wtkjad>

        <wtkjad jadfile="${bin}/${package.name}_fullscreen.jad"
            jarfile="${bin}/${package.name}.jar"
            update="true"
            config="1.1"
            profile="2.1"
            manifest="${bin}/MANIFEST.MF"
            name="${package.name}"
            vendor="${company.name}">
            <attribute name="MIDlet-Permissions" value="${midlet.permissions}"/>
            <attribute name="MicroEdition-Profile" value="MIDP-2.1"/>
            <attribute name="MicroEdition-Configuration" value="CLDC-1.1"/>
            <attribute name="MIDlet-Version" value="${midlet.version}"/>
            <attribute name="MIDlet-Description" value="${midlet.description}"/>
            <attribute name="Nokia-UI-Enhancement" value="FullScreenTextBox"/>
            <midlet name="${midlet1.name}" icon="${midlet1.icon.name}" class="${midlet1.package.name}" />
        </wtkjad>

        <wtkpackage
            jarfile="${bin}/${package.name}.jar"
            jadfile="${bin}/${package.name}.jad"
            classpath="${project.class.path}"
            basedir="${prever}"
            autoversion="false">
            <fileset dir="${res}"
                excludes="**/distribution.policy.s60" />
        </wtkpackage>

        <wtkpackage
            jarfile="${bin}/${package.name}.jar"
            jadfile="${bin}/${package.name}_fullscreen.jad"
            classpath="${project.class.path}"
            basedir="${prever}"
            autoversion="false">
            <exclude_from_manifest name="Nokia-UI-Enhancement"/>
            <fileset dir="${res}"
                excludes="**/distribution.policy.s60" />
        </wtkpackage>

    </target>

</project>